Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout Issue: Failed to retrieve and/or create a Braintree Customer #2253

Open
John-Blair opened this issue Apr 10, 2019 · 3 comments

Comments

Projects
None yet
1 participant
@John-Blair
Copy link

commented Apr 10, 2019

I am unable to complete a braintree transaction with a logged in user. I get the following error:

Failed to retrieve and/or create a Braintree Customer
Merchello.Providers.Payment.Braintree.Services.BraintreeCustomerApiService.GenerateClientRequestToken(ICustomer customer) +266

I am using the braintree sandbox environment. Using the "Braintree Transaction" payment method.

Note: I am able to complete the transaction for a user that is not logged into the site i.e. anonymous user.

In a separate test I added the "Paypal One Time Transaction" payment method to the Braintree
payment provider - but this did not work either.
I have configured my Braintree sandbox account to be linked to a paypal account so wanted to offer both Paypal and Visa/Mastercard as a Braintree option. Have i configured it wrong?

I have a standalone test program that can push paypal transactions through my braintree account and have verified that they appear in my sandbox list of transactions.

image

Thanks.

@John-Blair

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

Update: Paypal one time checkout for braintree works if the user is NOT logged in.

image

@John-Blair

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

Update: Created a new user to try out both the Braintree transaction and the paypal option. Both worked ok for the new user. Not sure what was wrong with the previous user. One thing that was not usable for the paypal user is the paypal login appeared partially off screen - had to use alt-spacebar m to move the window - this is ok for a developer but not for an actual user.

The current braintree paypal offering - allows the user to login to paypal in the browser rather than going off to paypal in a separate window - this is a better user experience.

image

@John-Blair

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

Update: A logged in customer name does not appear in the braintree list of transactions for a visa purchase but does so for a paypal purchase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.