I am wondering if this is a flaw of braintree or if I am not understanding. In the diagram below and in the documentation: https://developers.braintreepayments.com/start/overview the steps are
- Customer requests token from my server
- I give them a token
- They do the payment by sending all the info and bank details to braintree
- Braintree gives them a nonce.
- Customer gives me that nonce
- I verify that nonce with Braintree's server
However, in step 4, why is braintree giving the token to the customer instead of sending a token or something directly to my server? What if the customer makes the payment and then closes the tab. This means step 5 and 6 cannot occur and this payment is left in limbo. How do you fix this? I don't want customers making a payment, closing their tab then I have to manually assign their order.
