PayPal Error in 7.0.5

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
mfreeze
Commodore (COMO)
Commodore (COMO)
Posts: 421
Joined: Mon Jan 24, 2005 2:07 pm
Location: Washington, NJ
Contact:

PayPal Error in 7.0.5

Post by mfreeze » Thu Oct 14, 2010 10:48 am

One of my clients just upgraded to 7.0.5 and has PayPal IPN configured. I had her check all the setup on the PayPal site and it all looks good. However, whenever you pay the order on PayPal or click on the 'cancel' button, you receive a 404 error. We also tried turning on PayPal Express with the same results.

Following is the message she sent me regarding the error when she tried PayPal Express

Hi Mary,
I put in our API credentials, clicked "Checkout with Paypal" button in the right side bar. It directed me to the Paypal website, I logged in with my personal Paypal account to test it. When I clicked continue it said "page cannot be displayed":

http://www.buffalogal.com//PayPalExpres ... &token=EC-.......

I notice that there is a double / after the URL but I checked her ReturnURL in her paypal account and it is not there. The results are the same with PayPal IPN except the URL is different but there is still a double / after the .com. She spoke with PayPal and was told the following.

"Paypal said it is not any settings on their side. He said there is a problem with what the shopping cart is sending to Paypal. He said I need to find out what the "cancel" and "return" values are in our shopping cart."

Any idea what might be causing the 404/page cannot be displayed errors?
Mary E Freeze

Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development

http://www.ffgraphics.com

mouse_8b
Commander (CMDR)
Commander (CMDR)
Posts: 115
Joined: Mon Oct 11, 2010 1:21 pm
Location: Austin, TX
Contact:

Re: PayPal Error in 7.0.5

Post by mouse_8b » Tue Oct 19, 2010 12:08 pm

Bump. I'm also getting a double slash in the URL that returns the customer to the store. [mysite.com//processpaypal.ashx]. I have looked around a lot of these topics and this seems to be a recurring, yet unsolved issue. I would suspect that I need to edit the URL that AC sends to Paypal that returns them to the store. Where is that located?

User avatar
mfreeze
Commodore (COMO)
Commodore (COMO)
Posts: 421
Joined: Mon Jan 24, 2005 2:07 pm
Location: Washington, NJ
Contact:

Re: PayPal Error in 7.0.5

Post by mfreeze » Thu Oct 21, 2010 11:32 am

Can somebody from Able support help with this, please?

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

Re: PayPal Error in 7.0.5

Post by jmestep » Fri Oct 22, 2010 3:53 am

Maybe a bug report? I had sent Able links to a couple of these posts.
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
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: PayPal Error in 7.0.5

Post by jmestep » Wed Oct 27, 2010 1:00 pm

I just checked on a 705 site and I did not have any problems with Paypal standard checkout. I returned to the site after payment and also on cancel and return with no problems. I've attached screenshots of the paypal page.
Using express checkout, I didn't get any errors, but when I logged in to paypal, I didn't have an option to pay, but there might be something not configured correctly for the merchant- I hadn't done/didn't check that part.
screenshot.5.jpg
screenshot.6.jpg
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
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: PayPal Error in 7.0.5

Post by compunerdy » Fri Oct 29, 2010 10:23 am

Is there a fix to this? I checked my paypal log and I see this same // issue

<NotifyURL>https://www.website.com//ProcessPayPal.ashx</NotifyURL>

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PayPal Error in 7.0.5

Post by mazhar » Thu Nov 04, 2010 6:11 am

Well I am not sure but give a try to this. Go your Administration > Configure > Security > System Settings and make sure that store URL doesn't end with /
for example if your store URL ends with a slash then remove that slash. Save this and now test paypal again hopefully this will fix notify URL.

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

Re: PayPal Error in 7.0.5

Post by jmestep » Thu Nov 04, 2010 6:48 am

mazhar, on sites I've installed, Able puts a / at the end of the store url. The 705 site I tested Paypal successfully on had that. We have had problems in the past with links in emails being bad if there were no /. Has this changed?
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
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: PayPal Error in 7.0.5

Post by compunerdy » Thu Nov 04, 2010 11:04 am

I have not seen any of these errors since moving to 7.0.5

User avatar
mfreeze
Commodore (COMO)
Commodore (COMO)
Posts: 421
Joined: Mon Jan 24, 2005 2:07 pm
Location: Washington, NJ
Contact:

Re: PayPal Error in 7.0.5

Post by mfreeze » Fri Nov 19, 2010 12:48 pm

I upgraded this particular site to 7.0.5 and am still seeing the problem.

Also, 7.0.5 will not allow you to remove the trailing slash; when you try you get an error message.
Mary E Freeze

Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development

http://www.ffgraphics.com

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

Re: PayPal Error in 7.0.5

Post by compunerdy » Fri Nov 19, 2010 4:34 pm

I was not getting any for awhile and then they started again.

An error has occured at https://www.xxxxxxxxxxxxx.com/ProcessPa ... erId=xxxxx The remote server returned an error: (400) Bad Request.

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

Re: PayPal Error in 7.0.5

Post by jmestep » Sun Nov 21, 2010 4:26 pm

I wonder if something changed in Paypal. We have a 7.0.5 site getting those bad request errors and when I placed a test order, I got the error and while I was on Paypal, the final confirmation page there was not the one that had come up before when I tested 7.0.5- it was an older looking page, not like my second screenshot above. I thought maybe the merchant had a wrong configruation for something.
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
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: PayPal Error in 7.0.5

Post by compunerdy » Sun Nov 21, 2010 4:28 pm

Not sure but I did open a case about it.

WebDev7
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Thu Oct 14, 2010 7:25 am

Re: PayPal Error in 7.0.5

Post by WebDev7 » Wed Nov 24, 2010 12:38 am

Hi-

You will need to check your PayPal account to make sure the AUTO RETURN in ON - here in Able Forums there was previous talk about turning this OFF due to a BUG. So Im guessing all of your clients and users out there have their PayPal Auto Return to OFF and Return URL textbox is BLANK. This URL box needs to be filled in as well with the ashx.

I havent seen any issues with testing PayPal these last 2 weeks. I did have the one like Judy mentions, but that was a setting issue in PayPal.

The bug appears to be fixed in 705. (Thank you Able developers)

User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: PayPal Error in 7.0.5

Post by draneb » Mon Nov 29, 2010 6:09 pm

Hello,

I am running AC 7.0.3 and have been getting this error very frequently. I haven't changed anything on my end. The errors just started coming.

An error has occured at https://myurl.com/ProcessPayPal.ashx?OrderId=xxxxx The remote server returned an error: (400) Bad Request.

Is this effecting the checkout process? Because I am also noticing PayPal orders that are not being paid for/completed.

I went to Administration > Configure > Security > System Settings
and there is a / at the end of my URL but AC won't let me remove it. It gives a message "the url must end with a /"
I also have Auto-Return ON with the return URL the URL ending in ProcessPayPal.ashx.
AC 7.0.3 build 13937

User avatar
Jeffr_ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Mon Oct 12, 2009 6:28 pm
Location: Canada
Contact:

Re: PayPal Error in 7.0.5

Post by Jeffr_ca » Thu Jan 06, 2011 2:43 pm

I am also running AC 7.0.3 and have recently been trying to set up PayPal for the first time. Maybe this was the wrong time to attempt this...has anyone got this to work consistently?

What I've noticed is that during testing in Sandbox, it works repeatedly without any errors. When you switch to the live site, it works the first time through the PayPal procedure and properly returns to your order page.

However, any subsequent attempts to process a payment using the same account information in PayPal seems to fail on the return to AC. If you pay attention to the Login screens that are shown by PayPal, there appears to be two versions....one that looks like the screenshot provided by Judy above. And another screenshot like the following. If you see this login screen with Paypal, the transaction completes properly and will return to AC without an error. This is the type of screen that shows up in Sandbox:
PayPal_Login2.jpg

This is the Paypal confirmation screen that goes along:
PayPal_confirmation2.jpg

As I indicated, if you see this login/confirmation pair then the transaction completes and returns to AC without any errors.

However, if you see the login screen as shown by Judy, the transaction will authorize, however when the user attempts to return to the merchant, you receive an error about https://myurl.com/ProcessPayPal.ashx?OrderId=xxxxx

With either login screen from PayPal, cancelling the transaction always goes back to the merchant site without an error.

So, is it possible that we're seeing errors only from customers that are repeat purchasers? I've attempted to clear the browser cache, history, temp files, etc. and have only been able to restore the "functional" login screen on one occassion....and maybe it was a coincidence. Otherwise, you see the login screen as was posted by Judy.

Any further thoughts on this situation?

-Jeff

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

Re: PayPal Error in 7.0.5

Post by jmestep » Fri Jan 07, 2011 7:33 am

This is a do-it-at-your-own-risk fix, but we have been able to use Able's 7.0.5 dlls with older versions of Able. You would just have to experiment and see what breaks.
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
Jeffr_ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Mon Oct 12, 2009 6:28 pm
Location: Canada
Contact:

Re: PayPal Error in 7.0.5

Post by Jeffr_ca » Fri Jan 07, 2011 10:25 am

Thanks Judy,

Is it generally understood now that anyone running 7.0.3 is not able to accept PayPal without the return to merchant error? The payment still authorizes, it just looks messy when the customer returns to the store. It also seems odd that the Paypal system is providing alternate interfaces....one works clean, the other doesn't.

Anyway, I don't mind swapping out some .dlls. As it sounds like you've already done this, perhaps you can suggest the specific ones... wink, wink, nudge,nudge :)

-Jeff

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

Re: PayPal Error in 7.0.5

Post by jmestep » Mon Jan 10, 2011 7:22 am

This is just from memory- I think the paypall_base.dll was from Paypal and is the same in the versions of Able. The other file is the CommerceBuilder.Paypall.dll and the difference between it and older versions is that it passes the orderid in the querystring in the code.
Just make sure you keep your old copies of Paypal dlls so you can swap back quickly if you run into a problem.
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
Jeffr_ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Mon Oct 12, 2009 6:28 pm
Location: Canada
Contact:

Re: PayPal Error in 7.0.5

Post by Jeffr_ca » Mon Jan 10, 2011 10:33 am

Thanks very much Judy!

I'll give it a test and let the forum know...

-Jeff

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

Re: PayPal Error in 7.0.5

Post by compunerdy » Mon Jan 24, 2011 12:34 pm

WebDev7 wrote:Hi-

You will need to check your PayPal account to make sure the AUTO RETURN in ON - here in Able Forums there was previous talk about turning this OFF due to a BUG. So Im guessing all of your clients and users out there have their PayPal Auto Return to OFF and Return URL textbox is BLANK. This URL box needs to be filled in as well with the ashx.

I havent seen any issues with testing PayPal these last 2 weeks. I did have the one like Judy mentions, but that was a setting issue in PayPal.

The bug appears to be fixed in 705. (Thank you Able developers)

I am going to change these settings and see if that fixes my issues. What about this setting?
"Payment Data Transfer (optional)"
Should it be on or off?

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

Re: PayPal Error in 7.0.5

Post by jmestep » Tue Jan 25, 2011 7:27 am

I think it depends on what build of Able you are using, but I'm not sure.
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
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: PayPal Error in 7.0.5

Post by draneb » Wed Apr 13, 2011 10:16 am

Hi everyone...

Is there anything available for download that will patch this issue? I am running 7.0.3 with heavy customization so I just can't easily switch to 7.0.6.
Everytime a customer checks out with PayPal I get the above error in the error log.

Thank you!
AC 7.0.3 build 13937

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

Re: PayPal Error in 7.0.5

Post by jmestep » Thu Apr 14, 2011 3:19 am

You could try using the two paypal dlls from a newer version. That has worked for us. Just be sure you keep your original dlls so you can revert back if necessary.
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
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: PayPal Error in 7.0.5

Post by draneb » Thu Jun 30, 2011 12:15 pm

Is there a place to get the dll's from 7.0.5? I am running a heavily modified 7.0.3 and it would not be easy for me to upgrade the entire store right now.
Are they on Bugzilla or could someone send them to me? Thank you very much.
AC 7.0.3 build 13937

Post Reply