#TESLA_17

1 messages ยท Page 1 of 1 (latest)

buoyant masonBOT
grand echo
#

Hi there!

#

Give me a few minutes to look into this.

dawn anvil
#

Hi soma

#

sure

#

thanks

grand echo
#

Can you copy-paste the full error message you see? type BascsDebit is not assignale to type [...]

dawn anvil
#

this above is the type script error
`

  1. 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}
hasty marsh
#

Hey! Taking over for my colleague. Let me catch up.

dawn anvil
#

Hi ๐Ÿ‘‹

buoyant masonBOT
hasty marsh
#

Doing some tests...

dawn anvil
#

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

hasty marsh
#

Yes in fact, that's the issue, even I tried with PaymentSheet, and it's has the same behavior

dawn anvil
#

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 ๐Ÿ˜ข

hasty marsh
#

Yes you can implement your own lib for that!

hasty marsh
dawn anvil
#

is there plans to add this in the future to the stripe sdk ?

hasty marsh
dawn anvil
#

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?

hasty marsh
dawn anvil
#

Okay, thanks @hasty marsh
i really appreciate your help ๐Ÿ™