#smc - loader

1 messages · Page 1 of 1 (latest)

shut hedge
#

Hello, good question. Checking in to this

burnt nimbus
#

thank you!

shut hedge
#

Are you passing in the loader parameter when creating the payment element itself or when initializing elements overall?

#

From the doc and my testing, it should happen when you initialize elements, which should be before the payment element comes in to play

burnt nimbus
#

ohh I see!

#

I was passing this into <PaymentElement/>

#

gah

shut hedge
#

No worries, this kind of mixup happens all the time. Let me know if this helps fix it or if you still run in to some kind of error

burnt nimbus
#

thanks 🙂 trying now...

#

working wonderfully!

#

many thanks!!

shut hedge
#

That's what I like to hear! Glad you could get it working