2018-02-14 06:21:22 +10:00
|
|
|
<div class="col-xs-12 col s12 text-center">
|
2018-01-24 04:52:45 +10:00
|
|
|
<form method="POST" id="payment-form">
|
|
|
|
<button
|
|
|
|
type="submit"
|
|
|
|
id="stripeButton"
|
|
|
|
value="Process payment"
|
2018-02-14 06:21:22 +10:00
|
|
|
class="btn btn-success waves-effect waves-light blue darken-3"
|
2018-01-24 04:52:45 +10:00
|
|
|
type="submit"
|
|
|
|
data-key="{{paymentConfig.publicKey}}"
|
|
|
|
data-amount="{{amountNoDecimal session.totalCartAmount}}"
|
|
|
|
data-name="{{config.cartTitle}}"
|
|
|
|
data-description="{{config.cartTitle}} Payment"
|
|
|
|
data-image="{{paymentConfig.stripeLogoURL}}"
|
|
|
|
data-locale="auto"
|
|
|
|
data-zip-code="false"
|
|
|
|
data-currency="{{paymentConfig.stripeCurrency}}">
|
|
|
|
<i class="fa fa-cc-stripe fa-lg" aria-hidden="true"></i> Process payment <i class="fa fa-cc-stripe fa-lg" aria-hidden="true"></i>
|
|
|
|
</button>
|
|
|
|
<script src="https://checkout.stripe.com/v2/checkout.js"></script>
|
|
|
|
</form>
|
|
|
|
</div>
|