2019-12-26 13:23:21 +10:00
|
|
|
<div class="col-sm-12 text-center">
|
2018-01-24 04:52:45 +10:00
|
|
|
<form method="POST" id="payment-form">
|
|
|
|
<button
|
|
|
|
type="submit"
|
|
|
|
id="stripeButton"
|
|
|
|
value="Process payment"
|
2019-12-26 13:23:21 +10:00
|
|
|
class="btn btn-outline-success waves-effect waves-light blue darken-3"
|
2018-01-24 04:52:45 +10:00
|
|
|
type="submit"
|
2019-11-03 17:11:37 +10:00
|
|
|
data-key="{{@root.paymentConfig.publicKey}}"
|
|
|
|
data-amount="{{amountNoDecimal @root.session.totalCartAmount}}"
|
|
|
|
data-name="{{@root.config.cartTitle}}"
|
|
|
|
data-description="{{@root.config.cartTitle}} Payment"
|
|
|
|
data-image="{{@root.paymentConfig.stripeLogoURL}}"
|
2019-12-21 12:46:48 +10:00
|
|
|
data-email="{{@root.session.customerEmail}}"
|
2019-11-06 20:40:27 +10:00
|
|
|
{{#if @root.session.cartSubscription}}
|
|
|
|
data-subscription="{{@root.session.cartSubscription}}"
|
|
|
|
{{/if}}
|
2018-01-24 04:52:45 +10:00
|
|
|
data-locale="auto"
|
|
|
|
data-zip-code="false"
|
2019-11-03 17:11:37 +10:00
|
|
|
data-currency="{{@root.paymentConfig.stripeCurrency}}">
|
2019-12-21 12:46:48 +10:00
|
|
|
<i class="fa fa-cc-stripe fa-lg" aria-hidden="true"></i> Pay Now <i class="fa fa-cc-stripe fa-lg" aria-hidden="true"></i>
|
2018-01-24 04:52:45 +10:00
|
|
|
</button>
|
|
|
|
<script src="https://checkout.stripe.com/v2/checkout.js"></script>
|
|
|
|
</form>
|
|
|
|
</div>
|