Shopify / mobile-buy-sdk-ios

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
MIT License
452 stars 199 forks source link

Error appearing on webURL checkout as cart has been modified and the shipping rate you previously selected no longer applies. #979

Closed rohitkowadkar closed 4 years ago

rohitkowadkar commented 5 years ago

Getting following error

I am proceeding checkout using Shopify Buy Sdk. I have created checkout object and updated using shipping address, applicable shipping rate also customer email. using all required mutations on checkout object. Also when I am proceeding using WebUrl from the checkout object in WKwebview or SafariViewController it displays above error from the screenshot.

IMG_A84A4DC8DAC8-1

I have weight based shipping methods setup for all regions.

Same thing I checked using Android Buy Sdk it is working properly without giving any error.

jamiemtdwyer commented 5 years ago

Hi @rohitkowadkar,

Are you able to share the checkout token of the affected checkout?

It's possible that this is not a bug – if the contents of the checkout have truly changed (i.e. due to a script running at checkout) or the shipping address of the checkout has changed, the shipping rate has indeed become invalidated and you will need to select a new rate.

Happy to dig in given more information.

rohitkowadkar commented 5 years ago

Hi @jamiemtdwyer , Thank you for your reply.

Here is the one of the checkout token for which I am getting error. 7b615306ea5ad4c113cb15defdd0d2ae

Thank you in Advance

rebeccajfriedman commented 5 years ago

Hi @rohitkowadkar ! Are you still experiencing this issue? Please let us know (and provide a more recent token) and we can look into it.

rohitkowadkar commented 4 years ago

@rebeccajfriedman after updating to latest release of buy sdk this issue is not appearing! thanks for looking.