By Hideto on Friday, 01 June 2018
Posted in Payment Gateways
Replies 3
Likes 0
Views 2K
Votes 0
Hello,

Recently we had customers who inadvertently paid twice for the same invoice.
So we needed to refund one of the payment and assign a new subscription in the backend to make them have active subscription.

I understand that duplicated payment can possibly happen.
(I could reproduce the duplicated payment using the 'Back' button.)

However, I have a question about how you deal with invoice ID in transaction data.

Within our PayPal payment receiving preferences,
'prevent accidental payments by blocking duplicate invoice IDs' is set to
"Yes, block multiple payments per invoice ID". (screenshot attached)

So I suppose it should prevent duplicated payments for identical invoice.
But the issue is... each of the transaction record has different 'Invoice' ID in PayPlans (screenshot attached).
Actual Invoice ID is stored in item_number field instead.

Isn't it the reason why PayPal does not recognize these transactions for identical invoice?

I think you can reproduce the issue on your end.
Please let me know your opinion.


Thanks,
Rikao
Hello,

As you are using Paypal, invoice will be paid after getting notification from paypal, sometime get response immediate and some time will will take some time, so if invoice is in Invoice Checkout state then user can pay again this invoice because it's not possible to pay again for paid invoices.

Isn't it the reason why PayPal does not recognize these transactions for identical invoice?
According to your second screen shot, invoice field contain payment key (which is unique key to identify the payment), it's not invoice id. So on every payment request new payment will generate and that's why this is different in all request. that's why paypal not recognize it that's it's duplicate.

I'll check this and will let you know about this.
Thanks for understanding.
·
Friday, 01 June 2018 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manisha,

>I'll check this and will let you know about this.

Thank you. I'll wait for the updates then.

Rikao
·
Tuesday, 05 June 2018 12:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I've already added this issue in our issue tracker. It will require significant changes.
Once it get fixed , i'll provide you the solution.

Thank you for understanding.
·
Tuesday, 05 June 2018 14:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post