Rye makes it easy to take payments and sell products from multiple merchants with a single API. This section covers the way to set up payments with Rye, and explains the lifecycle of a Rye order.
submitCart
mutation should not be interpreted as the order succeeding; it is possible for errors to occur after the cart is submitted during order placement and payment capture. After submitting a cart, developers should take care to monitor the status of the order and step in to handle errors as they occur.
You can find detailed instructions on how to handle the checkout lifecycle here.