Config
For fullcart to work, you need a /fullcart-config.son
file publically available on your website. This can be either a static JSON file, a generated JSON file, or a dynamic route returning a JSON object.
{ "account": "YOUR_SECRET_STRIPE_TEST_KEY", "url": "https://yourwebsitedomain.com", "successUrl": "https://yourwebsitedomain.com/success", "cancelUrl": "https://yourwebsitedomain.com/cancel", "currency": "usd", "products": [ { "id": "product1", "name": "My product 1", "description": "Description about my product", "image": "https://picsum.photos/200/300", "price": 100 }, { "id": "product2", "name": "My product 2", "description": "Description about my product", "image": "https://picsum.photos/200/300", "price": 200 }, { "id": "product3", "name": "My product 3", "description": "Description about my product", "image": "https://picsum.photos/200/300", "price": 300 } ]}