Problem with duplicated PayPal order

Open to all! Ask other shopowners for help.
Post Reply
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Problem with duplicated PayPal order

Post by 14Steve14 »

Using Phoenix 1.0.7.11 (old I know but update is on the way)
Using paypal app as supplied with phoenix in the early days.

Sorry for the long post.

Up until recently I have been using PayPal with absolutely no problems. However, recently I am starting to get customers placing duplicated orders. It has happened to three or four customers in the last few days. It does not happen to all for some reason.

Customers are placing an order, being transferred to the PayPal website, entering all the required information and completing the purchase. They are getting the redirect message so they return to the website where they usually come to get the 'Checkout Success' page. On their return they are getting an order incomplete message saying payment failed. They are then placing a second order as the items are still in their baskets.

They then get two order confirmation messages in their emails from both the website and PayPal.

I have spoken to PayPal and they say there have been no changes to their system and the fault lies within the website code, which has been working faultlessly up until the last few days. I have tried uninstalling the module, removing all the code and uploading a set of backed up files from a good known working date, reinstall the module and still the problem persists.

In the PayPal module logs the error is 'Fatal Failure'. I have mentioned this to PayPal and they can see no such message or any reason for this with these payments.

Is anyone else having these problems or have any ideas where to look.


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

Re: Problem with duplicated PayPal order

Post by burt »

I vaguely recall something similar happening when Paypal updated their CRTs ? I wonder if they've done that again? Maybe that rings a bell (for searching at the old osc forum)
I am not here to build for you.
I am here to build with you. Let's help each other.
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Problem with duplicated PayPal order

Post by 14Steve14 »

Thanks Gary. I will take a look but its hard to find anything these now.

We have just had another one who reported that after returning to the website after the payment and an error saying "Could not verify the PayPal transaction. Please try again.” He looked and had received a payment completion email from PayPal and looked on the website and the payment had gone through and the order completed, even though the PayPal logs show the same error as before.

May be another call to PayPal support.
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 413 times

Re: Problem with duplicated PayPal order

Post by burt »

This page has the latest TLS Cert; https://www.paypal.com/uk/cshelp/articl ... tes-ts1510
I can't remember enough about the older Paypal to give advice on (a) if this is a good change to make and (b) where/how to change it if so.
I am not here to build for you.
I am here to build with you. Let's help each other.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Problem with duplicated PayPal order

Post by ecartz »

burt wrote: Wed Aug 02, 2023 1:00 pm (b) where/how to change it if so.
I think it's includes/apps/paypal/work/paypal.pubkey
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Problem with duplicated PayPal order

Post by 14Steve14 »

ecartz wrote: Thu Aug 03, 2023 8:18 am
burt wrote: Wed Aug 02, 2023 1:00 pm (b) where/how to change it if so.
I think it's includes/apps/paypal/work/paypal.pubkey
Is it not in ext/modules/payment/paypal/paypal.com.crt

There seems to be certificates in two places.
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

Re: Problem with duplicated PayPal order

Post by mhsuffolk »

14Steve14 wrote: Thu Aug 03, 2023 12:08 pm

Is it not in ext/modules/payment/paypal/paypal.com.crt

There seems to be certificates in two places.
Yes, that is where it is. The other file is something else.
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Problem with duplicated PayPal order

Post by 14Steve14 »

Hopefully we have sorted this mysterious problem we were having.

It seems that in the last few weeks our site was moved across to a new server by the hosts. I went through all the server settings with them, and compared them to the old servers, we made a few changes that mean nothing to me, and all seems to be working again, touch wood.

Thanks for the help and suggestions.


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