android-checkout-sdk icon indicating copy to clipboard operation
android-checkout-sdk copied to clipboard

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

Open mauro-poq opened this issue 1 year ago • 1 comments

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

mauro-poq avatar Feb 19 '24 12:02 mauro-poq

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.

github-actions[bot] avatar Feb 19 '24 12:02 github-actions[bot]