braintree / braintree_php

Braintree PHP library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
546 stars 224 forks source link

Transaction::sale() and how to prevent duplicated payments #249

Closed TomPradat closed 5 years ago

TomPradat commented 5 years ago

How should we prevent duplicated payments ?

General information

Issue description

If I get this right it's not possible to send a unique id to prevent payments duplication. I see there is a parameter to prevent duplication in the configuration of my braintree account but the maximum is an hour.

Is there a way to prevent duplication beyond an hour ? If so how ?

hollabaq86 commented 5 years ago

Hi @TomPradat, please contact Support who can answer your questions about preventing duplicate payments.