diff --git a/guest/guest_pay_invoice_stripe.php b/guest/guest_pay_invoice_stripe.php index 5c24fcff..4d6127bd 100644 --- a/guest/guest_pay_invoice_stripe.php +++ b/guest/guest_pay_invoice_stripe.php @@ -129,17 +129,26 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent - - + 0) { ?> + + Discount + + + + + + 0) { ?> + + Paid + + + + + -
- 0){ echo "Discount: " . numfmt_format_currency($currency_format, $invoice_discount, $invoice_currency_code); } ?> - -
- 0) { ?> Already paid: @@ -155,10 +164,6 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent -
-
diff --git a/js/guest_pay_invoice_stripe.js b/js/guest_pay_invoice_stripe.js index ab8a60d5..d867a575 100644 --- a/js/guest_pay_invoice_stripe.js +++ b/js/guest_pay_invoice_stripe.js @@ -23,9 +23,6 @@ async function initialize() { elements = stripe.elements({ clientSecret }); - const linkAuthenticationElement = elements.create("linkAuthentication"); - linkAuthenticationElement.mount("#link-authentication-element"); - const paymentElementOptions = { layout: "tabs", };