Anyone else having Paypal troubles?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
satori
Lieutenant (LT)
Lieutenant (LT)
Posts: 64
Joined: Mon Jun 26, 2006 1:04 am
Location: Colorado Rockies above Boulder
Contact:

Anyone else having Paypal troubles?

Post by satori » Fri Mar 21, 2008 10:18 am

I mentioned this before, but I really have to get to the bottom of this, we're losing orders.

If people want to pay with Paypal on the final page, it presents a Paypal button to click. It just doesn't work.

On my cart, it brings you to the same page, never showing the Paypal page.

I also tried it on Joe's Solunar.com site which has the RC3, and it also errored out, and brought me to this page:
http://www.solunar.com/default.aspx?asp ... ceipt.aspx

I've downloaded the Paypal updates. Is this a confirmed bug? A way to fix it? I've already submitted a bug ticket.

Until I can get Paypal to work, I don't feel comfortable marketing the site, as my customers use Paypal alot. :)

NOTE: Paypal does work if clicked from the side "Basket Cart".

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sat Mar 22, 2008 9:41 am

Amazing you mention this now Angela. I've been cracking my head for days trying to nail the pattern of why some PayPal orders fail while others succeed every time.

I suspected it was based on whether the visitor clicked checkout through the basket page or minibasket page but I wasn't sure.

I'll do some local testing right away and see what I can come up with - maybe I can find a solution that works for both of us ;)
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sat Mar 22, 2008 10:01 am

There error I'm receiving is:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
I'm continuing troubleshooting to find a workaround.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sat Mar 22, 2008 10:42 am

Ok I've identified a workaround, Angela do you mind testing with your install?

Edit your web.config file and find the <pages> tag. Just search for <pages and it should find it. Mine looks like this but yours may be different.

Code: Select all

<pages validateRequest="false" >
Now replace the line to look like this:

Code: Select all

<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" >
On my site, it fixed the problem. But I'm now getting a page crash upon the browsers return from PayPal back to my site. I'm trying to figure that out now but it's using an unfamiliar .Net feature to me. I'll post more as soon as I have something for you.

Let me know what you find out with your testing...
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Post by jmestep » Sat Mar 22, 2008 11:07 am

I'm not sure this will help, but I was getting this error message on an AC7 site I've been working on when I tried to edit the home page to add a control. I wasn't getting it on my test site. I found out that the merchant had entered content, but had put it within <html> and <body> tags and had a <form> in the content also.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
satori
Lieutenant (LT)
Lieutenant (LT)
Posts: 64
Joined: Mon Jun 26, 2006 1:04 am
Location: Colorado Rockies above Boulder
Contact:

Post by satori » Sat Mar 22, 2008 11:17 am

I heard back from AbleCommerce, they're aware of the issue. It simply takes about 5-10 seconds until the page transfers to Paypal. Since that's a long wait, most customers click the Paypal button several times before giving up.

Here's what I posted on my new Customer Portal:

http://www.attachedtobaby.com/CustomerS ... rough.aspx

I checked it on your site, and when I waited at least 4 seconds, and then it successfully transferred me to the Paypal page!

So it looks like we just need to add an alert to wait about 5-10 seconds on that page. I updated PayPalPayNowButton.ascx file in /Conlib/Utility and added this ugly but prominent alert:
<h2>IMPORTANT: After clicking the Paypal button, please wait approximately 10 seconds for Paypal page to load! Do not click again or leave the page until you are in Paypal.com.</h2>

I requested them to include one of those "Please Wait" animated gifts on the page.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sat Mar 22, 2008 11:29 am

The error on my site wasn't because the I was clicking the button multiple times. There error occurred immediately upon a single click of the button.

Once I fixed it, then I would see the substantial delay redirecting to PayPal's site.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Sun Mar 23, 2008 11:02 am

I get these in my error log once in awhile

Error in PayPal GetExpressCheckout. User ID detected in PayPal response: UID21956, Customer User ID: 21963

User avatar
bobr2k
Commander (CMDR)
Commander (CMDR)
Posts: 183
Joined: Fri Oct 26, 2007 2:31 pm
Location: Illinois

Post by bobr2k » Sat Mar 29, 2008 6:59 am

satori wrote:<h2>IMPORTANT: After clicking the Paypal button, please wait approximately 10 seconds for Paypal page to load! Do not click again or leave the page until you are in Paypal.com.</h2>
Since I don't have a way to test this yet and would like to implement your idea, could you respond to tell me whether this message should be before or after the placeholder statement? Thanks!
Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Sat Mar 29, 2008 11:03 am

RC3 contains an updated PayPal integration that should eliminate this problem. The delay will be dramatically reduced, perhaps to the level of unnoticable. And the original receipt page will not re-appear after clicking the button. I hope this translates into fewer problem orders for you.

(This is because the PayPal library that did the RC2 button was not Medium trust compatible. I created custom handling for the PayPal Pay Now button that is cleaner and faster.)
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
bobr2k
Commander (CMDR)
Commander (CMDR)
Posts: 183
Joined: Fri Oct 26, 2007 2:31 pm
Location: Illinois

Hip Hip Hooray!

Post by bobr2k » Sat Mar 29, 2008 12:00 pm

Bless you my son ... Thanks!
Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright

Post Reply