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

Can't checkout. MobileBuySDK.Graph.QueryError error 4 #1038

Closed VasApps closed 4 years ago

VasApps commented 4 years ago

We have a mobile app builder that our merchants use. During the checkout process we create the checkout url and push the user to a webView. Our checkouts have been working since the beginning but suddenly stopped working for many but not all of our merchants.

After logging the error it comes back as following;

"The operation couldn’t be completed. (MobileBuySDK.Graph.QueryError error 4.)"

Some Mobile Buy SDK requests work. For example using the same client I can search for products, collections buy I simply can't create the checkout url, apply discounts, add gift cards, etc. What is going on here? My guess is the storefront token is corrupted.

townsendeb commented 4 years ago

Im having this same problem, how did you solve this? @VasApps

AdamBCo commented 4 years ago

@VasApps How did you resolve this issue? What was the problem?

GhostCoder7 commented 1 year ago

Any solution to this?