#imdavidmin
1 messages ยท Page 1 of 1 (latest)
Yes, this is logged in console
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Pasted in there as the relevant code for confirming the payment
if you console.log(ika.reg.getBindValue(VendorKey.StripeCardElement)
What exactly are you seeing?
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())
Ok, I see. So the value included for card should be value returned from stripe.elements(options).create('card')?
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
maybe getElement('card')
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 !
NP! ๐ Happy to help