Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi,
I am using checkout api (/admin/api/2021-07/checkouts/{token}.json) on custom app. But shopify api can't able to complete the checkout without adding a Transaction.
How can I can add a transaction without doing any actual payment ?
Created order can be with financial_status as pending.
Hi @ash2408
You can complete a checkout without a transaction. Please have a look at the example here of a checkout being completed without requiring payment:
https://shopify.dev/api/admin/rest/reference/sales-channels/checkout#complete-2021-01
Hope this is helpful!
To learn more visit the Shopify Help Center or the Community Blog.
Hi @csam ,
Thanks for the reply.
I have already tried the checkout complete api. But it gives below errors.