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
Get checkout (id) from checkout link #1181
Comments
I am also in the same situation. I trying to implement Subscriptions.
|
@lorenzOliveto were you able to get a solution to this? |
I´m as well interested in a solution for this |
Unfortunately not, no solution and no response. |
+1 I'm in this exact situation too |
I just got around it by querying the cart using the Storefront GraphQL API. If the checkout has been completed the cart returns null, but if it hasn't been completed it will return the cart object. Not as clean as getting the completedAt value off the checkout, but it works. Hope that helps.
|
Same here If I used Cart's |
I'm trying to implement the selling plans on my app, I've moved all the logic that were previously added to the checkout to the cart with the
cartCreate
mutation.The problem that I'm facing is that the cart doesn't returns a checkout (id) so I have only the checkout URL, and I don't know if the user has completed the checkout and if the app should empty the cart once the web view is closed.
How can I manage this situation?
#1181 (comment)
The text was updated successfully, but these errors were encountered: