-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Type Support for Multibanco and Twint (#666)
* Add Bindings for Multibanco and Twint * run Prettier * Fix types for Multibanco * Fix linting
- Loading branch information
1 parent
bed71dc
commit 8a68460
Showing
3 changed files
with
151 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2004,6 +2004,24 @@ stripe | |
) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmMultibancoPayment('', { | ||
payment_method: {billing_details: {email: '[email protected]'}}, | ||
}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmMultibancoPayment('', {payment_method: ''}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmMultibancoPayment('', {payment_method: ''}, {handleActions: false}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmMultibancoPayment('') | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmOxxoPayment('', {payment_method: ''}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
@@ -2256,6 +2274,25 @@ stripe | |
.confirmSofortPayment('', {}, {handleActions: false}) | ||
.then(({paymentIntent}: {paymentIntent?: PaymentIntent}) => {}); | ||
|
||
stripe | ||
.confirmTwintPayment('', { | ||
payment_method: {billing_details: {name: 'Jenny Rosen'}}, | ||
return_url: window.location.href, | ||
}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmTwintPayment('', {payment_method: ''}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmTwintPayment('', {payment_method: ''}, {handleActions: false}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmTwintPayment('') | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
||
stripe | ||
.confirmWechatPayPayment('', {}, {handleActions: false}) | ||
.then((result: {paymentIntent?: PaymentIntent; error?: StripeError}) => null); | ||
|
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