#imdavidmin

1 messages ยท Page 1 of 1 (latest)

topaz epochBOT
stiff hawk
#

Hello ๐Ÿ‘‹
Are you seeing these errors client-side?

#

Can you share your example code?

stiff hawk
#

if you console.log(ika.reg.getBindValue(VendorKey.StripeCardElement)
What exactly are you seeing?

boreal temple
#

Here's the output

stiff hawk
#

I think that's the issue here.
you need to pass in an element instance.

Can you change it to ika.reg.getBindValue(VendorKey.StripeCardElement.getElement())

boreal temple
#

Ok, I see. So the value included for card should be value returned from stripe.elements(options).create('card')?

stiff hawk
#

that's correct

#

Would definitely recommend testing it out to be 100% certain

boreal temple
#

Hmm Using card: ika.reg.getBindValue(VendorKey.StripeCardElement).getElement() gave me a different error of IntegrationError: A valid Element name must be provided

#

VendorKey.StripeCardElement is a enum string, so getElement cannot be used on it

stiff hawk
#

maybe getElement('card')

boreal temple
#

Ok

#

Excellent I think that worked. I got test_mode_live_card error so should be fine when I use the test card number

#

Thanks @stiff hawk !

stiff hawk
#

NP! ๐Ÿ™‚ Happy to help