Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
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!
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.
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.
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.