Page 1 of 1
PayPal Checkout OPC
Posted: Mon Sep 22, 2014 12:46 pm
by acuser777
we're using Gold R7 vanilla copy of OPC.aspx and OPC.aspx.cs.
When I try to checkout in guest mode via OPC.aspx, clicking on PayPal Check Out button doesn't do anything.
However, If I login, PayPal checkout works.
I've debugged the issue in VS 2012 and what seems to be the issue is page validation.
Code: Select all
CheckingOutEventArgs c = new CheckingOutEventArgs(payment);
CheckingOut(this, c);
//c.Cancel before true at this point.
checkOut = !c.Cancel;
However, checkout page doesn't show any validation errors.
Any input?
Re: PayPal Checkout OPC
Posted: Tue Sep 23, 2014 5:23 am
by Katie
Are you using sandbox mode? Do you test with 2 different browsers? So one of them will access the merchant/developer side of Paypal and the other the customer side of Paypal. I've seen some strange issues when you are logging into both customer and merchant sides of PayPal with the same browser.
Re: PayPal Checkout OPC
Posted: Tue Sep 23, 2014 11:30 am
by acuser777
Katie
This is production mode. I've tried this with FF, Chrome and IE. I've to logout of any account and checkout in guest mode for this problem to show up. If I'm logged in, paypal does work.
Thanks
Re: PayPal Checkout OPC
Posted: Tue Sep 23, 2014 1:32 pm
by Katie
I will have someone test this in Gold R7 tomorrow.
Re: PayPal Checkout OPC
Posted: Wed Sep 24, 2014 4:33 am
by nadeem
I just tested Gold R7 build and everything working fine for me. I can only duplicate this issue If I put something less then Minimum Search Length criteria in store header search box and click PayPal button, it does nothing.
Have you modified the 'Minimum Search Length' value from Administration > Configure > Store > General screen? If you are doing something similar, then the issue can arise due to the SearchPhraseValidator failure.
Re: PayPal Checkout OPC
Posted: Wed Sep 24, 2014 5:37 am
by nadeem
Something causing page validation failure for you. Can you please do a test using other payment method like gift certificate from the same page? If that is working then it might have something to do with missing SSL or maybe you have not setup Paypal IPN properly for your live Paypal account.
Re: PayPal Checkout OPC
Posted: Fri Sep 26, 2014 12:26 pm
by acuser777
Nadeem,
Thank you so much for the update.
This is a production site with all other payment methods working. You can try it yourself on
www.trendyhalloween.com
Also, there is a checkout with paypal button in shopping cart which is working. so I don't think its IPN issue.
Another thing. when i click on checkout with paypal button in shopping cart but do not finish the checkout and return back to shopping, and if I now go to one page checkout, the page would only show paypal check button which actually works.
How can I find out which part of the validation is failing?
Thanks
Re: PayPal Checkout OPC
Posted: Fri Sep 26, 2014 2:29 pm
by Katie
I tried to use Paypal on your website and it does nothing when I click the Paypal button. Just to make sure, I loaded up my R7 install and enabled std. Paypal. It works perfect. I even removed the checkout patch (which I see you have), and it still worked. Now, I did notice that you have some customization in the payment form section. On your site, I was able to trigger an error from the OPC page.
PayPal Express Checkout Failure
The PayPal Payer ID is not present.
Now, I'm stuck and I can't checkout at all. There is some "change" link present from this page and it allows me to switch over the Express checkout. This must be custom and if you put the stock payment control back in place, you'll probably find that it will start working.
In a stock version of AbleCommerce, the Express checkout is something that gets initiated before the user starts to checkout.
Re: PayPal Checkout OPC
Posted: Mon Sep 29, 2014 3:32 am
by nadeem
I guess you are able to fix the validation issue? I did tested Paypal on your website and it is working. I just want to make sure Is this something related to your customization or the bug in Able?
Re: PayPal Checkout OPC
Posted: Tue Sep 30, 2014 7:16 am
by Katie
acuser777 -
We spent considerable time trying to help you with this issue. We would appreciate it if you could take a minute to let us know if this is working now, and whether or not it had something to do with a customization or setting issue.
Your feedback is valuable to all members of the AbleCommerce community.
Thanks,
Katie
Re: PayPal Checkout OPC
Posted: Tue Sep 30, 2014 4:22 pm
by acuser777
Hi Katie
Sorry for not replying. For some reason, I didn't get email notifications for last 3 messages.
I've resolved this issue. But here is my response to the last post you made:
- our OPC page is full vanilla code - no customization. I"m not sure where payapal payer id not present is coming from. Even I got that message couple of times and I thought something is broken there.
- yes, express checkout gets initiated before checkout and that button is in shopping cart which worked fine.
So, what I've done for resolve the issue is:
1. There is a subscription control in the store footer which was originally adopted from subscription control. I removed the validator for this control. Once I did this, code started going beyond page validation but still didn't go to paypal checkout and by this time I found the resolution in #2.
2. I applied latest hot patch for OPC which basically overwrites OPC file and couple other files.
After above 2 updates, it worked just fine.
Thank You!
Re: PayPal Checkout OPC
Posted: Sun Oct 11, 2015 4:42 am
by bigtires001
Hello,
I am having this same issue.
Can someone please guide me to the hot patch for OPC.aspx mentioned above?
My current version is :
AbleCommerce for ASP.NET
VERSION: 7.0.90.8302
Release Label: GoldR10
Re: PayPal Checkout OPC
Posted: Mon Oct 12, 2015 12:46 am
by jmestep
You can get them from Able's help site, the Patches folder in the left nav.
http://help.ablecommerce.com/