One of my clients wants to build a self-hosted checkout page (instead of the Shopify built-in checkout) this includes Shipping, discount, Tax calculation, gift card handling and payment processing. I went through the official Shopify help documents and I found these following two possible way to do this:-
Using plain REST API:
Using Orders, Products, Discounts, Customers, Country (for TAX) and ShippingZone - we can create a self-hosted checkout, but this process is a bit complicated compared to Checkout API.
Using the Sales channel and checkout API:
With this approach, the checkout API is handling everything for me (including the payment processing) but I have a query - Is this something we would need to create a PUBLIC Sales Channel app for this? If so, what effects would the sales channel app be public have?
My questing is which method should we use to create our client-specific self-hosted checkout? I hope I cloud to be more specific. Any reply would be appreciated.
Confusing I know as “Checkout API” immediately gets your hopes up for a custom checkout experience loosely “managed” by shopify but Sales channel SDK and Checkout API only work together.
I guess a large problem here is all the interchangeable terms and specific terms and restrictions not really being laid out in an approachable way and lack of concrete demos to understand the different systems
Thanks for the reply, Paul. So as per the “Usage guidelines” of the sales channel, we need to publish the app so that anyone can sell their product on the platform. Therefore, for individual store/client, we shall use the “Rest API” approach, please correct me if I wrong.