-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1e207e
commit caa3f03
Showing
6 changed files
with
203 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<div id="stripe-form"> | ||
<script src="https://js.stripe.com/v3/"></script> | ||
<input type="hidden" id="stripePublicKey" value="{{@root.paymentConfig.stripe.publicKey}}"> | ||
<div class="mb-2">{{@root.paymentConfig.stripe.description}}</div> | ||
<form id="stripe-payment-form"> | ||
<div id="card-element"></div> | ||
<button class="btn btn-outline-success mt-2">Process Payment</button> | ||
<div id="payment-element"></div> | ||
<button id="submit" class="btn btn-outline-success mt-2"> | ||
<div class="spinner-border d-none" id="spinner"></div> | ||
<span id="button-text">Process Payment</span> | ||
</button> | ||
</form> | ||
</div> |