You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create an order setting the shipping preferences as ShippingPreference.GET_FROM_FILE;
On PurchaseUnit set amount, items and at least 2 shipping options;
Start the paysheet and check that the shipping options are present;
Dismiss the paysheet without killing the app;
Create a new order with shipping preferences as ShippingPreference.SET_PROVIDED_ADDRESS;
On PurchaseUnit set the amount, items, shipping options as null and set an Address;
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".
The text was updated successfully, but these errors were encountered:
Describe the bug
Shipping option is kept cached and displayed on the screen when moving from
ShippingPreference.GET_FROM_FILE
toShippingPreference.SET_PROVIDED_ADDRESS
To Reproduce
Steps to reproduce the behavior:
ShippingPreference.GET_FROM_FILE
;PurchaseUnit
set amount, items and at least 2 shipping options;ShippingPreference.SET_PROVIDED_ADDRESS
;PurchaseUnit
set the amount, items, shipping options asnull
and set an Address;Expected behavior
Shipping options are presented only when we have the shipping options set as not
null
.Smartphone (please complete the following information):
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".
The text was updated successfully, but these errors were encountered: