Open harishvitta opened 3 years ago
You can call the GET Checkout API and you'll see a property "order" in there, if it's not nil that means that your order is completed. You can implement this in the checkoutViewController's viewWillAppear so you can fetch as soon as you close the webView
Currently, we don't have a query or mutation to know the checkout status. This would be useful once web checkout completed. That information is useful to handle cart after completing checkout.