Self Hosted Custom checkout

New Member
2 0 0
Hello Shopify,
 
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:-
 
1. 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.
 
2. 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.
0 Likes
Shopify Partner
1658 48 168

@CodeClouds351 wrote:
 
2. 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?

https://help.shopify.com/en/api/guides/sales-channel-sdk/overview#requirements

Sales channel is if YOUR marketplace|platform lets OTHER merchants sell things outside of THEIR stores

( examples https://apps.shopify.com/collections/sales-channels, facebook,pinterest,instagram,ebay,etc)

 

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

 

There is the https://help.shopify.com/en/api/storefront-api/tools/js-buy-sdk but that is to create checkouts not to self host the entire process.

 

There's also storefront ap https://help.shopify.com/en/api/storefront-api/guides/checkout-guide

Or being a payment gateway https://help.shopify.com/en/api/guides/payment-gateway/hosted-payment-sdk with restrictions

 

 

Problem Solved? ✔️Accept the solution so you can help others.
Confused? Busy? ? Get me to solve it paull.newton+shopifyforum@gmail.com.
Buy me a coffee? ☕ paypal.me/paulnewton or donate to eff.org
1 Like
Highlighted
New Member
2 0 0

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. 

0 Likes