From 0de640ffbbe482f1cba57b7b7f5c2495335b62cb Mon Sep 17 00:00:00 2001 From: joelherzog <121586608+joelherzog@users.noreply.github.com> Date: Mon, 29 Jul 2024 10:27:16 +0200 Subject: [PATCH 1/2] add Twint payment method to checkout https://docs.stripe.com/payments/twint/accept-a-payment?platform=web&ui=stripe-hosted --- src/components/Functions/Checkout.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Functions/Checkout.vue b/src/components/Functions/Checkout.vue index 1a22d52..9a4c6ac 100644 --- a/src/components/Functions/Checkout.vue +++ b/src/components/Functions/Checkout.vue @@ -253,6 +253,7 @@ export default { { label: 'SEPA debit', value: 'sepa_debit' }, { label: 'Sofort', value: 'sofort' }, { label: 'WeChat Pay', value: 'wechat_pay' }, + { label: 'Twint', value: 'twint' }, ], enableOptions: [ { label: 'Enable', value: true }, From 49c0755da993d3f015920350043846d9acd46b5c Mon Sep 17 00:00:00 2001 From: joelherzog Date: Mon, 29 Jul 2024 10:52:35 +0200 Subject: [PATCH 2/2] Add Twint to create new payment intent https://docs.stripe.com/payments/twint/accept-a-payment?platform=web&ui=direct-api#web-create-payment-intent --- src/components/Functions/CreatePaymentIntent.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Functions/CreatePaymentIntent.vue b/src/components/Functions/CreatePaymentIntent.vue index 2ed3838..8ba653c 100644 --- a/src/components/Functions/CreatePaymentIntent.vue +++ b/src/components/Functions/CreatePaymentIntent.vue @@ -86,6 +86,7 @@ export default { { label: 'SEPA debit', value: 'sepa_debit' }, { label: 'Sofort', value: 'sofort' }, { label: 'WeChat Pay', value: 'wechat_pay' }, + { label: 'Twint', value: 'twint' }, ], }; },