thephpleague / omnipay-braintree

Braintree Driver for Omnipay Gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purchase with customer id not working

alok932 opened this issue · comments

commented

Following error comes up when trying to charge the customer created previously.

InvalidRequestException in AuthorizeRequest.php line 43:
The token (payment nonce) or paymentMethodToken field should be set.

Everything works fine when i commented the special validations in AuthorizeRequest.php. I don't think payment nonce or paymentMethodToken validation is required when purchasing using customer reference

commented

Solved in latest builds