#IanGungee
1 messages · Page 1 of 1 (latest)
Hi 👋
I don't know the stripe-challenge-operator you are referring to. Where are you finding this?
As a part of stripe partner certification, developers are given a branch of a git repo with challenges that need to be completed (https://github.com/stripe-certification). There is a bot (or collection of actions) that automatically test each push, but it seems to be faulty.
If you aren't familiar with it, that's ok. I can just ask the original question that sent me down this rabbit hole regarding stripe elements
Yeah our Discord forum is specific to integrations with Stripe APIs so I can't really help with this.
Word, I sent an email to support@stripe.com, so hopefully they'll get back to me eventually, but my original question was an error that I was getting with stripe.elements()
Okay can you describe the issue a bit more thoroughly?
I'll do my best, but here's the error to start:
IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Pay Button Element. It looks like you have other Elements on the page.
I have created a paymentIntent on the server, and wish to use Stripe.Elements.Create('card') to confirm that paymentIntent with the relevant data:
The "card number" section is the element
Ah, you're using the Card element then
You can't use confirmPayment unless you are using a Payment Element
The error gets thrown when I call stripe.confirmPayment(). This function requests the elements object. confirmPayment seems slightly off from confirmPaymentIntent (which is what I want), but that is only available on the server, and that is the function I found via the docs
Lol is it actually that simple?
Well, implementing that returns me a new error, so that's progress. Hopefully the github issue will be resolved separately, but at least I can make progress locally now, thanks!
What's the new error?