What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Checkout on external website

Checkout on external website

seannemann21
Visitor
3 0 0

I'm wondering if it's possible to allow users to enter their payment details on my site and process the checkout without needing to redirect them to a Shopify hosted page? From my understanding, this is possible through the Checkout API if you create a Sales Channel, but my use case does not seem to fit the requirement of having the "intention and capacity to onboard several hundred Shopify merchants in the first year after launch“ since I'm just looking to process checkouts for one store. I notice the Storefront API has a mutation called checkoutCompleteWithTokenizedPaymentV3, and I'm wondering if this could be used for completing a payment on an external site without creating a Sales Channel. Any guidance or suggestions would be very much appreciated!

Replies 3 (3)

Martin_Caum
Shopify Partner
40 3 22

I believe this can be done. You should be able to charge the user on your site then use the Admin API to create the appropriate order object.

seannemann21
Visitor
3 0 0

Do you know if I can use Shopify to process the payment without redirecting to a Shopify hosted checkout page? Or I guess it makes more sense to use Stripe to process the payment on my end and then create an order through the Admin API.

Martin_Caum
Shopify Partner
40 3 22

I do not know of a way to have Shopify process the payment outside of the store's website (doesn't mean it's not possible though). But yes, I imagine Stripe would be the easiest route here.