We are working on a site where user registers for an event using his credit card, we verify for credit card using Braintree API and registers user based on that. Once a particular event is over we process for payment for all the registered user using the provided Braintree token.
But while processing for payment some of the payment fails due to reason like "decline response" etc. We would like to have a process where we make sure that when we go for processing the payment for a user does not gets fail.
Can anyone suggest the approach so that when we process user payment it does not gets failed.