#TESLA_17
1 messages ยท Page 1 of 1 (latest)
Can you copy-paste the full error message you see? type BascsDebit is not assignale to type [...]
this above is the type script error
`
- Type '"BacsDebit"' is not assignable to type '"Card" | "Ideal" | "Oxxo" | "P24" | "Alipay" | "Giropay" | "SepaDebit" | "Eps" | "AuBecsDebit" | "Sofort" | "GrabPay" | "Fpx" | "AfterpayClearpay" | "Klarna" | "Bancontact" | "USBankAccount" | "PayPal" | "Affirm"'.
`
and when i try performing the payment here is what i am getting
{"code": "Failed", "declineCode": null, "localizedMessage": "This payment type is not supported yet", "message": "This payment type is not supported yet", "stripeErrorCode": null, "type": null}
Hey! Taking over for my colleague. Let me catch up.
Hi ๐
Doing some tests...
checking the source i think bacs_debit is not supported on the react-native sdk
it is weird because it is supported on android/ios sdks
Yes in fact, that's the issue, even I tried with PaymentSheet, and it's has the same behavior
yes, i think it is just a matter of wiring the Native sdks to react native, since it is already implemented on both ios and android
i would've loved to contribute to fixing this, but i don't know much swift/kotlin ๐ข
Yes you can implement your own lib for that!
Yeah unfortunately you need to know both swift/koltin for that...
is there plans to add this in the future to the stripe sdk ?
Just I want to mention that BACS isn't currently supported in mobile Elements (PaymentSheet):
https://stripe.com/docs/payments/payment-methods/integration-options#support-bank-debits
You can monitor that page and our github pages but nothing in progress AFAIK...
By payment elements, the docs mean the prebuilt UIs? if i managed to make the confirmPayment method with my custom UI i assume it will work, right?
Yes something like the sample activity in the official Stripe Android Example project:
https://github.com/stripe/stripe-android/blob/master/example/src/main/java/com/stripe/example/activity/BacsDebitPaymentMethodActivity.kt
Okay, thanks @hasty marsh
i really appreciate your help ๐