Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Storefront API shows error about checkout disabled

Storefront API shows error about checkout disabled

hashsam
Tourist
10 0 2

Hey,

 

I am using Storefront API to enable Discount Coupon Application using the following SDK - https://shopify.github.io/js-buy-sdk/#creating-a-checkout

But, when creating a checkout programatically, it is showing error as following - [{"message":"Checkouts are disabled for your shop.","locations":[{"line":1,"column":3094}],"path":["checkoutCreate"]}]

I already have enabled the Bogus Payment Gateway on our development server, but it still shows error that the checkout is disabled.

 

Can someone please guide me how can I enable the checkout on the development store ?

 

Thanks in advance!

Replies 4 (4)

hashsam
Tourist
10 0 2

Hey Folks!

 

Just following up on my earlier message - does anyone came across this particular issue and have any solution for this ?

 

Looking forward to a positive response.

 

Regards

plshelpify
Visitor
2 0 0

Same problem here.

Support told me that development stores don't have access to checkouts (checkoutCreate, client.checkout.create). I hope this isn't true considering it's not stated clearly in any of the docs I've read and I need to test checkouts to finish this project. If somebody with more experience would be willing clarify it'd be much appreciated!

plshelpify
Visitor
2 0 0

https://community.shopify.com/c/Shopify-Discussion/Why-is-my-checkout-not-working/m-p/1093757#M23056...

I think this discussion confirms it, you have to switch over to a paid plan to enable checkouts.

Unfortunate, considering checkouts are the de facto way to handle  users' sessions (adding items, removing items, redirecting to Shopify webURL at checkout)

hashsam
Tourist
10 0 2

Hey @plshelpify 

 

Thank you for sharing the information ! Much appreciated..