#bhaskar

1 messages · Page 1 of 1 (latest)

worthy gladeBOT
elder parrot
lost turret
#

pi_3N2n7HLbI0pt51JB13eXXrP1

#

newbie question - with setupintent created and default payment method set i dont have to choose the bank account again right?

elder parrot
#

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

lost turret
#

the setupintent is us_back_account. payment intent both card and bank

#

if they want they could change it

elder parrot
#

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

lost turret
#

ok, could you check why this didn't work?

elder parrot
#

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

lost turret
#

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"
      }
    }
  },
elder parrot
#

Right, okay and what is the question? The Payment Intent was successful

lost turret
#

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

elder parrot
#

Currently the Payment Element does not support displaying saved payment methods, if that is what you mean.

lost turret
#

yes

elder parrot
#

It's a feature that is in the works but it isn't released yet

lost turret
#

ha ok.

elder parrot
#

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

lost turret
#

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 ?

elder parrot
#

Yes. Link will permit a single button click payment experience for the user and use the saved us_bank_account payment method

lost turret
#

ok thank you