Hi, I’ve been going through the docs quite thoroughly in relation to building a sales channel app and I need some more understanding of the Checkout API and Shopify payments. Specifically I have 4 questions that come out of reading the docs.
-
When I programatically create a checkout using the checkout API, how long does/can the checkout session last?
-
After I created the checkout and store the user’s credit card in the card vault, I get a sessionID to be used for payment processing, what is the expiry period of that sessionID?
-
In the docs when I use the aforementioned sessionID to create a payment, is that simply an authorization where the customer is NOT actually charged yet until I complete the checkout?
-
If the above point is true, what is the maximum length of time allowed between payment authorization and payment charged (when I send another request to complete the checkout)?
My questions above comes from the following documentation pages:
https://help.shopify.com/en/api/reference/sales-channels/payment
https://help.shopify.com/en/api/reference/sales-channels/checkout#create-2019-07
https://help.shopify.com/en/api/guides/sell-through-the-checkout-api
If anyone has expertise or experience with using the checkout API please give me some pointers on the above, or simply tell me if I’m misinterpreting the docs.
Your help would be greatly appreciated!