#james.ballow

1 messages ยท Page 1 of 1 (latest)

clever terraceBOT
grand steeple
#

Hello, can you tell me more about your payment element setup here? Are you rendering the payment element before or after creating the payment intent? And are you specifying automatic payment methods or specific payment methods?

clever terraceBOT
safe horizon
#

Sure, I'm actually a bit confused about the timing of things. I I'm creating the payment intent in the server side, and then I'm sending the client secret to the client JS file, then I'm rendering the payment card on the client side.

#

I'm seeing that at the time of creating the payment intent, there is an "automatic_payment_methods" of True, but perhaps I need to add them manually to this section somehow?

grand steeple
#

So if you go to that page and turn on ACH it should start showing up in your payment element

#

You can also manually specify the payment methods in the payment_method_types parameter when creating your intent

safe horizon
#

Ahhhh okay. I see now. I just want to the payment intent and typed in "us_bank_account" and it shows now. Can you please link me to the right page that shows all of the options that I can include in the payment intent? I'm looking for the developer page for it, not the "list of non-developers". I need to find out what the dictionary of options are so I can copy/paste.

grand steeple
#

The page that I linked to should show all the options for PMs that show up on your intent. Is the link broken for you?

safe horizon
#

That was the link I"m looking for (the second one). Thanks!

#

Lastly, is there a way to show the price that they are paying inside of the payment element?

#

I know that I set this paymnet amount in the payment intent, but I want to show this value inside of the payment card.

opaque sequoia
#

Hello ๐Ÿ‘‹
No, PaymentElement doesn't have a field to show the amount.
You can add your own UI component for that

safe horizon
#

Ah, okay thanks!