#bhaskar
1 messages · Page 1 of 1 (latest)
Hi 👋
can you share the ID of the API request that created the Payment Intent?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
pi_3N2n7HLbI0pt51JB13eXXrP1
newbie question - with setupintent created and default payment method set i dont have to choose the bank account again right?
If the payment method you want to use is a us_bank_account type, you will need to create the Payment Intent that is configured to use that payment_method_type
the setupintent is us_back_account. payment intent both card and bank
if they want they could change it
So yes that should work. But if you want to create a payment method that you can charge without requiring the customer to confirm you will want to create it with off_session
ok, could you check why this didn't work?
What didn't work?
The Payment Method was created with usage: "on_session" so it expects the user to be on session and available to confirm the payment
the user confirmed the payment. from the api response this is what i see
"mandate_data": {
"customer_acceptance": {
"type": "online",
"online": {
"infer_from_client": "true"
}
}
},
Right, okay and what is the question? The Payment Intent was successful
the payment method is not set by default. the customer had to choose the bank account even though the default payment method is assigned for the customer
Currently the Payment Element does not support displaying saved payment methods, if that is what you mean.
yes
It's a feature that is in the works but it isn't released yet
ha ok.
IF the PM was configured for off-session usage then it would have just gone through automatically
But I'm guessing that isn't exactly the flow you wanted either
yes. it is not the flow that i am currently want. if i add link to the type. will it default to the payment method the next time ?
Yes. Link will permit a single button click payment experience for the user and use the saved us_bank_account payment method
ok thank you