#Aggressive_Pickle
1 messages · Page 1 of 1 (latest)
How did the user create their us bank account payment method?
Using the built-in verification flow provided by the payment element.
Do you have the Payment Method ID I can review?
Sure thing. pm_1MRPKBDLFJuEW2E7KVGvFAa8
This is the mandate data that I'm seeing
"mandate_data": {
"customer_acceptance": {
"type": "online",
"online": {
"infer_from_client": "true"
}
}
},
When I search for that payment method id in dashboard
It looks like even after account is successfully linked via payment-element, Stripe is not updating the mandate_data. I was hoping to see something like this:
"customer_acceptance": {
"accepted_at": 123456789,
"online": {
"ip_address": "127.0.0.0",
"user_agent": "device"
},
I agree. I'm not seeing the mandate being populated as I would expect
I'm trying to confirm payment intent on server side. Not client side
The flow works just fine for Credit cards.
I'm only mentioning because I'm wondering if doing a server side call is the issue and that perhaps Stripe doesn't support server side calls for US bank accounts?
Hi @finite quartz I'm taking over this thread, give me a sec to catch up
Can you also share with me the PaymentIntent ID?
Thanks. Are you using stripe.collectBankAccountForPayment() at frontend ?
No, the only callout we're doing on the front end is updatePaymnentIntent()
we create payment intent on server-side (confirm=false). Grab the client secret and render payment element. On the payment element (test), you can click Test Institution. It takes you through a verification process including accepting a mandate. Once the account is linked, a button is clicked to confirm the payment. However, the idea is to confirm the payment intent on server-side rather than client-side. If I call stripe.confirmPayment() on client-side, I don't run into the error. While that's all well and fine, confirming payment on client-side is not an option
As far as I know, you need to confirm the payment on client-side when customer accepts the mandate terms.
Okay thanks