Paypal Error preventing checkout

Open to all! Ask other shopowners for help.
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Paypal Error preventing checkout

Post by artfulweb »

Hi,
On Phoenix 1.1.0.1 thru 1.1.0.4 noticed that many customers trying to pay with Paypal are not completing their orders so did a test order and get the following message on checkout_confirmation.php which prevents the completion of the order whether or not the customer leaves a comment:

==
www.mysite.com says
Failed to record order comments. Please try again and if problems persist please contact us.

==

Losing a lot of customers due to this and do need Paypal (as the old oscommerce Paypal did not throw this error) so need help fixing this, please. Thank you in advance for your help.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Paypal Error preventing checkout

Post by burt »

@BrockleyJohn - any ideas?
I am not here to build for you.
I am here to build with you. Let's help each other.
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Paypal Error preventing checkout

Post by BrockleyJohn »

The ajax call to ext/modules/payment/paypal/checkout_confirmation.php is failing.
Please check the browser console and see if you get more info on the underlying error.

As well as doing that please try this modified module which will only make the ajax call if there's a comment to record:
https://github.com/BrockleyJohn/Phoenix ... andard.php
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Re: Paypal Error preventing checkout

Post by artfulweb »

BrockleyJohn wrote: Sat Aug 02, 2025 2:36 pm The ajax call to ext/modules/payment/paypal/checkout_confirmation.php is failing.
Please check the browser console and see if you get more info on the underlying error.

As well as doing that please try this modified module which will only make the ajax call if there's a comment to record:
https://github.com/BrockleyJohn/Phoenix ... andard.php
Hi John, thanks for your reply;

I tried in all the browsers and have the same error with no error information, just that message. The message blocks the possibility to open developer tools or even page source. Have to clear it by clicking OK and then the Confirm and Pay has a spinner that never stops turning and prevents moving on.

Tried the modified module and get the same result, alas.
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Re: Paypal Error preventing checkout

Post by artfulweb »

No, excuse me, now the modified paypal file is working! Thank you!
Beer money sent :+1:
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Paypal Error preventing checkout

Post by BrockleyJohn »

artfulweb wrote: Sat Aug 02, 2025 3:55 pm No, excuse me, now the modified paypal file is working! Thank you!
Beer money sent :+1:
With the modified module you may still get the same error if there's a comment.

Open developer tools before pressing confirm so that you can see the console - though actually the message will still be there after closing the popup
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Re: Paypal Error preventing checkout

Post by artfulweb »

BrockleyJohn wrote: Sat Aug 02, 2025 4:21 pm
artfulweb wrote: Sat Aug 02, 2025 3:55 pm No, excuse me, now the modified paypal file is working! Thank you!
Beer money sent :+1:
With the modified module you may still get the same error if there's a comment.

Open developer tools before pressing confirm so that you can see the console - though actually the message will still be there after closing the popup
You're right, shows when there is a comment but since the confirm button is at the bottom of the site the developer tool only shows the footer, not the area concerned by the message
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Paypal Error preventing checkout

Post by BrockleyJohn »

which browser are you using?
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Re: Paypal Error preventing checkout

Post by artfulweb »

BrockleyJohn wrote: Sat Aug 02, 2025 5:06 pm which browser are you using?
Tried Edge, Samsung, Chrome, Safari
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Paypal Error preventing checkout

Post by BrockleyJohn »

In chrome dev tools, click the three dots then the first dock side option to pop the dev tools out into their own window.
Screenshot 2025-08-02 184207.png
Then make sure console is selected, not elements
Screenshot 2025-08-02 184559.png
You do not have the required permissions to view the files attached to this post.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply