#powers-cardelement-react
1 messages · Page 1 of 1 (latest)
the error is v3:1 Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmPayment(): value should be an object. You specified:
you can not use confirmPayment() in this path. You are using the legacy CardElement integration here. You need to use confirmCardPayment() instead. Or switch to using the PaymentElement
ok great thanks. thats progeress for me. now im getting CheckoutForm.js?1665:98 Uncaught (in promise) TypeError: Converting circular structure to JSON --> starting at object with constructor 'HTMLDivElement' | property '__reactFiber$t59u5cl3f9b' -> object with constructor 'FiberNode' --- property 'stateNode' closes the circle at JSON.stringify (<anonymous>)
powers-cardelement-react
am i passing the card elements properly?
I don't think so. Sorry React is not my forte, trying to figure out if we have an example
ok thanks