I’m trying to use Stripe’s Checkout button in a Skuid page. https://stripe.com/docs/checkout
I’ve put the following code in a template it it opens up correctly, but it won’t allow me to use any of the model data as values in the form action. I’ve tried {{Total}} and global merge {{$Model.data.0.Total}}, but neither are accepted no matter how many field types I’m using.
I know I’m probably missing a lot here since I can’t find any help about this online.
How can I use model data in a form action?
Should I be using a snippet to do this? and if so, how?
Appreciate any help you can give!
(using Stripes Test API Key)
<form action="your-server-side-code" method="POST"> <script src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="pk_test_6pRNASCoBOKtIshFeQd4XMUh" data-amount="999" data-name="Stripe.com" data-description="Widget" data-image="https://stripe.com/img/documentation/checkout/marketplace.png" data-locale="auto" data-zip-code="true"> </script>
post flagged as spam also?