I am using Craft CMS and have 3 products that are available after you login to the site but as this page is not publicly accessible the cart will not process the payment as it can’t validate the products. If I make this page publicily accessible it works fine, is there any way I can get around this?
If you are a developer:
You could add a separate route to your application for validating the products. That route then acts according to the HTTP headers that Snipcart sends with the order validation request.
- Create separate route (different from the hidden product page)
- Check Snipcart token
2a. When valid, return product data
2b. when invalid, return 403