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 showing cached shipping options #233

Open
mauro-poq opened this issue Apr 21, 2023 · 1 comment
Open

Paysheet showing cached shipping options #233

mauro-poq opened this issue Apr 21, 2023 · 1 comment
Labels

Comments

@mauro-poq
Copy link

Describe the bug
Shipping option is kept cached and displayed on the screen when moving from ShippingPreference.GET_FROM_FILE to ShippingPreference.SET_PROVIDED_ADDRESS

To Reproduce
Steps to reproduce the behavior:

  1. Create an order setting the shipping preferences as ShippingPreference.GET_FROM_FILE;
  2. On PurchaseUnit set amount, items and at least 2 shipping options;
  3. Start the paysheet and check that the shipping options are present;
  4. Dismiss the paysheet without killing the app;
  5. Create a new order with shipping preferences as ShippingPreference.SET_PROVIDED_ADDRESS;
  6. On PurchaseUnit set the amount, items, shipping options as null and set an Address;
  7. Start the paysheet again and check that the shipping option from the first Order is displayed.

Expected behavior
Shipping options are presented only when we have the shipping options set as not null.

Smartphone (please complete the following information):

  • Android Version: API 33
  • Device: Pixel 4
  • SDK Version: 0.8.8

Additional context
Regarding why I'm using items described in steps 5 to 7, it's being necessary because I need to offer the Click And Collect option to users and because of this bug I'm not able to it in the "correct way".

@MaxHastingsPP
Copy link
Collaborator

MaxHastingsPP commented Oct 24, 2023

Hi @mauro-poq is this still an issue you are facing ? Have you tried reproducing this issue using our latest v1.1 release ?

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

2 participants