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

Paysheet shows "Complete Purchase" button when an invalid address is selected. #308

Open
mauro-poq opened this issue Feb 19, 2024 · 1 comment
Labels

Comments

@mauro-poq
Copy link

mauro-poq commented Feb 19, 2024

Describe the bug
After the onShippingChange callback is called and invalidates the address, an error message is displayed asking the user to select a different address, but it shows the Complete Purchase button, when the user taps the button a generic Error message "Place order failed. Please try again." is shown.

To Reproduce
Steps to reproduce the behaviour:

1 - Select an invalid address (like, an address from another country) in a PayPal view.
2 - Leave PayPal checkout (close the PayPal view without proceeding to purchase).
3 - Launch PayPal view again
4 - The error message is displayed with the button enabled

Expected behavior
The Complete Purchase should be replaced with Choose a new address button

Smartphone:
Google Pixel 4

Android Version: any
SDK Version 1.1.0 and 1.2.1
image

Copy link

Thank you for reaching out to the Native Checkout SDK team. This integration path is now inactive for new merchants.
If you are an existing merchant, please contact us here for further assistance.

New merchants can integrate the Native Checkout experience via the Braintree Android SDK or PayPal Android SDK.
For more information please see their respective developer documentation linked below.

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

No branches or pull requests

1 participant