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

Calling instance.requestPaymentMethod for Google Pay does not show error text like it does for PayPal #949

Open
Tyfy opened this issue Oct 23, 2024 · 0 comments

Comments

@Tyfy
Copy link

Tyfy commented Oct 23, 2024

General information

  • SDK/Library version: 1.42.0
  • Environment: Sandbox but probably Production as well
  • Browser and OS: Version 129.0.6668.103 (64-bit) on Windows 10

Issue description

The page that we trigger the Braintree drop-in from has a form submit that calls instance.requestPaymentMethod

If you have the PayPal payment option panel open then you get a message "Use the PayPal button to continue with your payment" displayed in the "sheet-error-text" html element and there is a red border around the panel

I have been informed that the same is true for Apple Pay although I haven't tested myself.

If you have the Google Pay option panel open then there is no message displayed and no border.
Looking at the string resources I can see messages for ApplePay, PayPal and Venmo but nothing for Google

The callback function for instance.requestPaymentMethod will be called with an error object as the first parameter but for PayPal and Google Pay options you just get an object with _braintreeWebError as undefined and message as "No payment method is available." with no more specific information available

I see nothing in the current list of string resources that indicates that version 1.43.0 of the drop-in script would be any different

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant