#Anne Pinson
1 messages · Page 1 of 1 (latest)
Hi
Why you want to look for a specific confirm Method ? how are you willing to accept the Payment exactly ?
HI @scarlet hollow , in fact it is before all a matter of styling, because we are using our forms for all the other payment methods, and also because we already integrate the choice of payment method for our user in our frontend. So the PaymentElement is duplicating this.
For the other payment methods, we retrieve all the customer informations in our fom and then we use stripe.confirmXXXPaymentwith the informations gathered provided in payment_method attribute.
According to the stripe js, there is only the setup confirm and not for the PaymentIntent:
https://stripe.com/docs/js/setup_intents/confirm_bacs_debit_setup
Ok, thank you !
And so could it be possible to "hide" a part of the iframe ? I mean to remove the upper part with payment method choice.
Unfortunately not as far as I know. At that point I think you would need to make your own UI for each payment method type as well
In fact we already do our own UI for each payment method (Sofort, Giropay, etc.) and we are searching to do the same for BACS Debit. Do you mean that it could be possible ?
Apologies I missed that. Looks like there isn't a way to do that at the moment unfortunately. Trying to think of what you might be able to do here.
No worries, thanks a lot for thinking of a way to handle this !
Hey apologies for the delay but unfortunately it is looking like there isn't a good way to do this at the moment. That top banner of the Payment Element can't be hidden and we seems to only support BACS in a custom form if the payment element is used.
The only kind of workaround I can think of would be to create a duplicate payment intent that only takes BACS and mounting a payment element for that. But that is too complicated for adding one UI thing like this
I would definitely suggest writing in to our support team and describing your use case so that we can put in a feature request for this. https://support.stripe.com/?contact=true