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

onShippingChange is not triggered #299

Open
dimakpoq opened this issue Feb 6, 2024 · 1 comment
Open

onShippingChange is not triggered #299

dimakpoq opened this issue Feb 6, 2024 · 1 comment
Labels

Comments

@dimakpoq
Copy link

dimakpoq commented Feb 6, 2024

Describe the bug
The onShippingChange callback is only called once, but it isn't called the second time. This makes it impossible to invalidate the wrong address in UI. The user can click Complete Purchase button, and then he will see the generic Error message "Place order failed. Please try again.".

To Reproduce
Steps to reproduce the behavior:

  1. Select invalid address (like, address from another country) in a PayPal view.
  2. onShippingChange callback is called ✅
  3. Leave PayPal checkout (close the PayPal view without proceeding to purchase)
  4. Launch PayPal view again
  5. onShippingChange callback is not called ❌

Expected behavior
5. onShippingChange callback is called

Smartphone (please complete the following information):

  • Android Version: any
  • SDK Version 1.2.1
Copy link

github-actions bot commented Feb 6, 2024

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