#mochihealth

1 messages · Page 1 of 1 (latest)

teal shardBOT
honest notch
#

Can you share more details? What do you see in the PaymentElement when you try the above?

fathom tartan
#

like I want it to default to bank first

teal shardBOT
fathom tartan
#

?

smoky kettle
#

Hello! I'm taking over and catching up...

fathom tartan
#

ok

#

do you have any idea what Im doing wrong?

smoky kettle
#

No... it looks like that should be working...

#

Oh, wait.

#

You're supplying paymentMethodOptions when creating your Elements instance. You need to supply it when creating the Payment Element instance instead.

fathom tartan
#

ahh let me try

#

that worked! thanks

#

is there any way I can access the state of the payment element to know which option is selected

smoky kettle
#

Why do you want to know which option is currently selected?

fathom tartan
#

so I can dynamically update my front end to display some text

#

also when I try microdeposits in testing Im not getting any emails

smoky kettle
#

That's expected, we don't send emails in test mode.