#george.segovia

1 messages · Page 1 of 1 (latest)

hoary forumBOT
dreamy raptor
#

Hi, let me help you with this.

frank valley
#

Are you suggesting that on the other page, that would require to only display one payment option, either ACH or credit card, we could create a separate PaymentIntent per case?

A good example that describes our case in the UI is:

  • User clicks a button "Pay through ACH"
  • User clicks a button "Pay through Credit Card"

So on each click we create the payment intent passing payment_method_types with ["us_bank_account"] and ["card"] accordingly?

dreamy raptor
#

Correct.

frank valley
#

And just to be sure I got this right.

  1. That part, about the payment intent, is taking place on BE, correct?
#

I mean the PaymentElement expects the payment intent to be created already, or at least that's how I understand it

#
  1. Does that apply for setup intents as well?
hoary forumBOT
dreamy raptor
frank valley
#

Thank you, feel free to close the thread

dreamy raptor
#

Happy to help.