#steph-bacs-testing
1 messages · Page 1 of 1 (latest)
steph-bacs-testing
It doesn't look like we have any specific ones for BACS Debit today unfortunately. BACS Debit requires you to use the UI to collect bank account details because it comes from strict scheme rules
I see, ok! So if I enter in one of the test account numbers to the payment element, would it still be possible to create the payment intent server side?
You're kind of doing this the wrong way.
1/ Create a PaymentIntent
2/ Render PaymentElement client-side and confirm the PaymentIntent
That's the steps that our official docs you shared recommend
Ok, currently this form creates the payment intent upon submitting the payment method (after the card element is rendered client side). It sounds like I need to setup a payment intent first before even submitting anything on the form.
yes
Would the submitted bank information come through in a webhook afterward to update the payment intent or would the result of submitting on the payment element return a payment method object?
My goal here is trying to understand if I can confirm the payment intent on the server side as it does on the current form I have implemented
the confirmation happens client-side. That's our canonical integration path and what we really recommend doing. So you render PaymentElement, they enter their card or bank account details, they click a button and it confirmed the payment
Ok, so it isn't technically possible to confirm payment intent on the server-side? I'm trying to see how I can fit this with our current integration. Understood if it isn't possible, but I'm trying to see the different lifts here.
Currently this form uses the card element and confirms payment intent on the server side.
it kind of is possible but it's almost always something developers I've worked with came to regret
you can look at https://stripe.com/docs/payments/accept-a-payment-deferred?type=payment and play with that in Test mode and see what you think and if it helps but overall you really want to make sure you can confirm a PaymentIntent client-side because almost every other payment method requires a redirect to a partner like Klarna or Affirm or Afterpay to approve a payment and that moves the money
I see, yeah, thank you for the information! That is really helpful. Appreciate the pros/cons on this.
happy to help 🙂