Hi! I’m having a problem with the solidus_stripe g...
# support
m
Hi! I’m having a problem with the solidus_stripe gem. I’m getting this error because I’m using V3 Intents and V3 Elements:
Copy code
A token may not be passed in as a PaymentMethod. Instead, create a PaymentMethod or convert your token to a PaymentMethod by setting the `card[token]` parameter to ...
I don’t understand the explanation provided by this closed issues : • https://github.com/solidusio/solidus_stripe/issues/131https://github.com/solidusio/solidus_stripe/issues/71#issuecomment-736282633 Why can’t we use both Elements V3 and Intents V3? Because if I only use Intents V3 my credit card form is systematically empty (no JS generated inputs). It looks like it needs Elements V3... Any help appreciated, thanks!
s
I already have this issue (https://github.com/solidusio/solidus_stripe/issues/131) may be it's from the same cause
m
@Sabo yeah I saw your messages, thank you. We have a somewhat similar error but my problem might be different 😄 Here’s the thing : I don’t care about Elements V3. I want to use Intents V3 for SCA compliance. But when using only Intents V3, it’s impossible to pay. Picture 1 : Here’s what my credit card form looks like when I use only Intents V3 Picture 2 : Here’s what my credit card form looks like when I use both Intents V3 and Elements V3 (with the same “PaymentMethod token” error that you had)
I suspect there’s a problem with
stripe-payment-intents.js
My bad everyone, the error was that I didn’t setup the Stripe country properly 🫠 A double character Alpha code is expected instead of the full character name (ex: FR instead of France).
🙌 2