#lepetitblanc
1 messages · Page 1 of 1 (latest)
We don't have a way for you to add custom payment methods to the PaymentElement at the moment.
Based on where your account is registered, you might be able to use PayPal though
https://stripe.com/docs/payments/paypal
unfortunately PayPal is not available to the connect account, only under certain circumstances, which we don't meet as far as i understood from the support team.
If it is not possible to inject custom fields to the payment element, is there any way to unselect items there? I could make my own ui, but would need to uncheck any previously choosen option if the user clicks outside your element.
If it is not possible to inject custom fields to the payment element, is there any way to unselect items there? I could make my own ui, but would need to uncheck any previously choosen option if the user clicks outside your element.
When you say "unselect" | "uncheck", what exactly do you mean?
Can you give me an example?
By default the first element is checked (in my case payment with cards), if a user chooses an other payment method outside the iframe (PaymentElement), i would like to unselect that first element and close that accordeon.
I believe you can collapse the element
https://stripe.com/docs/js/elements_object/collapse_payment_element