Merge branch 'master' of code.ungleich.ch:uncloud/uncloud

This commit is contained in:
Nico Schottelius 2021-06-20 11:58:23 +02:00
commit e205d8d07c
5 changed files with 17 additions and 33 deletions

View file

@ -13,12 +13,15 @@
By submitting I authorise to send instructions to
the financial institution that issued my card to take
payments from my card account in accordance with the
terms of my agreement with you.
terms of my agreement with you.
</p>
<span id="message"></span>
<div id="card-element"></div>
<div id="card-errors" role="alert"></div>
<button type='button' id="card-button">Save</button>
<div id="ungleichmessage">The card will be registered with stripe.</div>
<div id="goback" style="display: none;">
@ -30,8 +33,8 @@
<!-- Enable Stripe from UI elements - standard code -->
<script>
var stripe = Stripe('{{ stripe_pk }}');
var elements = stripe.elements();
var cardElement = elements.create('card');
cardElement.mount('#card-element');