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 verification, but I want to do it in PHP.

Checkout verification, but I want to do it in PHP.

tera3
Shopify Partner
5 0 0

https://shopify.dev/docs/apps/checkout/validation/server-side

Cart and checkout validation using js, but can I validate checkout using PHP?
I looked at the documentation but could not figure it out.

 

The image has added validation in js according to the documentation.
I would like to do this in PHP. 

 

test1.jpg

 

 

Replies 2 (2)

Liam
Community Manager
3108 344 902

Hi Tera3,

 

Currently Shopify Functions don't support PHP so you'll need to work with either JavaScript, TypeScript, Rust, or Wasm. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

tera3
Shopify Partner
5 0 0

@Liam 

Thank you. By the way, is it possible to validate the cart using anything other than Shopify Functions?
We are looking to develop a feature that will only allow members to purchase member-only products.