Hey Guys,
I manage an iOS app for a shopify store that does monthly drops (e.g., drop a bunch of clothing once per month all at once) and because of this the checkout queue sometimes gets enabled as there are sometimes upwards of 40-70k people trying to checkout at once. Anyways, one massive problem that’s plagued the app for ever is this checkout queue. I recently saw an optional ‘queueToken’ variable for the checkoutCreate mutation here, and tried implementing it with the following:
buildMutation {
.checkoutCreate(input: input) {
.checkout {
.fragmentForCheckout()
.id()
}
.checkoutUserErrors {
.field()
.message()
}
.queueToken()
}
}
Unfortunately, when the queue got enabled during the most recent release the queueToken was null and the iOS app just continued to get a “Throttled” error message via the checkoutUserErrors and so no app users could checkout. The only solution that comes to mind is to just continuously try to checkout every 5 seconds but that obviously isn’t ideal since it’ll put the app users 2nd in priority to the website users who are put in the queue when checking out.
Does anyone have experience with this “Throttled” message and have any ideas to use the queueToken possibly to properly deal with it?
I’ve talked with a few product consultants and Shopify engineers and no one has a solution at all so now I’m just trying anything I can. Oh also, in case I forgot to mention, it uses the Mobile Buy SDK.