Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Our stack is made up of a Vue front end using Storefront API, a custom checkout that uses Stripe to collect payment, and then a server that uses the Admin Graphql API to create an order in Shopify after payment is successful. We do not use any payment gateway or card processing within Shopify, we only want to create a record of an order for fulfillment.
We like to use Admin GraphQL API instead of the REST API because this keeps the order editable in the Shopify Dashboard. So after payment is successful with Stripe in the server, we run `draftOrderCreate` mutation and then `draftOrderComplete` mutation. This has worked perfectly for us but we were just told that DraftOrders should not be used in development stores and we were locked out of our store.
So we are very confused, how can we test this type of flow before implementing in production?
Is there a way to create an order with API that keeps it editable?