You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
When creating a new payment method, @gateway.generate_token will create a nonce for a brand new customer. We should try to keep a one to one relationship between Braintree customers and Spree Users.
This may require another field or table to keep track of the gateway customer id. Then when requesting a token from braintree something like the following should be called if a user is logged in.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Similar to this issue here: solidusio/solidus_braintree#56
When creating a new payment method,
@gateway.generate_token
will create a nonce for a brand new customer. We should try to keep a one to one relationship between Braintree customers and Spree Users.This may require another field or table to keep track of the gateway customer id. Then when requesting a token from braintree something like the following should be called if a user is logged in.
This ensures that the new payment method is added to the same braintree customer as all others in the past.
The text was updated successfully, but these errors were encountered: