3 replies [Last post]
jblank's picture
Offline
Joined: 08/25/2008
Juice: 56
Was this information Helpful?

I have been having an issue with duplicate orders and sometimes duplicate charges on a single order. This does not happen all the time maybe 1 out of 100 to 200 orders.

However today I got more details on the situation where there are two orders.

The customer reported that when they went to check out they got an error message that we were unable to process the credit card and to go back and review your information and resubmit. Which he did and got the same notice.

However the order actually did got through and was charged by PayPal Website Payments Pro. Here is the log information on the order which is confusing:

08/25/2008
12:50:43 PM 985 Payment failed.
Warning: This transaction was approved. However, the Card Security Code provided had too few, too many, or invalid character types but, as per your account option settings, was not required in the approval process.
Address: Nothing matched; transaction declined
CVV2: Not checked
08/25/2008
12:50:55 PM - PayPal IPN reported a payment of 185.00 USD.

The message says it failed and was approved as well as transaction declined under address verification.

Any help on this would be much appreciated as this is creating some unhappy customers.

Thakns,

Josh

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Duplicate Orders & Duplicate Payments

So wait, he failed a credit card payment and then went back and paid with PayPal, and they both actually went through? Or is PayPal your only payment processor?

I have seen the same issue now and then with our site, but it's usually only with credit card orders. Two things usually happen: either the order gets submitted twice (user error) and does not get caught, or it gets submitted twice and does get caught, but the first payment actually goes through. Because it goes through, but then a duplicate order is submitted, the merchant rejects it as a duplicate; however, Ubercart seems to only capture the last status, which is a failure or declination.

This might not be the same exact issue as yours, though - but they could be related.

--
Help directly fund development: Donate via PayPal!

jblank's picture
Offline
Joined: 08/25/2008
Juice: 56
Re: Re: Duplicate Orders & Duplicate Payments

This is for a credit card payment not a PayPal payment. PayPal is our payment gateway though Website Payments Pro is what the product is actually called.

So in this particular case it is creating two orders where there should really only be one and it is actually charging the customer when the ubercart message is that the card was declined.

In other cases there is only one order but there are two payments that get charged and so the order actually ends up with a negative balance.

But the message above is specific to the situation where two orders are created.

deepakg83's picture
Offline
Joined: 07/24/2009
Juice: 187
Gateway

Which gateway is enabled. PayPal has credit card transactions enabled. If there are multiple gateways enabled, then possibly going back and changing the option might send the transaction to other gateway. Take for example, if you have a paypal gateway and one paypal payflow gateway, and enabled both of them.
The end user does not has a go which gateway to chose, he can just select a method , and gateway associated to it will be chosen by itself. You yourself can go and see , duplicating displays of PayPal payments. If that is the case, i think one should use only 1 gateway to use.
Other than that , did you use multiple gateways ?

Deepak Gupta