Error payment_methods
Problem
Hello, I am migrating from the charges API to the payment intent API for 3D Secure. I am using Stripe API 6.36.0 and node 8.4 Initial request from the Stripe Dashboard: POST Request /v1/payment_methods [code block] Response body: [code block] Followed by POST request /v1/payment_intents [code block] And 400 Response: [code block] Can't understand why the payment method is being denied since it's confirmed just above. I am following your guide here: https://stripe.com/docs/payments/payment-intents/quickstart#manual-confirmation-flow Thanks so much for your help
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Error payment_methods
@tdamant this type of error is usually caused by accidentally using API keys from a different account, or if you're using Connect, not authenticating as the relevant account. I'd suggest double- and triple-checking that you are using the same API keys from https://dashboard.stripe.com/test/apikeys across your frontend and backend. Sometimes if you copy an example from Stripe's docs, they have dumm
Trust Score
7 verifications
- 1
@tdamant this type of error is usually caused by accidentally using API keys fro
@tdamant this type of error is usually caused by accidentally using API keys from a different account, or if you're using Connect, not authenticating as the relevant account. I'd suggest double- and triple-checking that you are using the same API keys from https://dashboard.stripe.com/test/apikeys across your frontend and backend. Sometimes if you copy an example from Stripe's docs, they have dummy keys that don't belong to your account and that can cause issues so it's best to check everywhere you're using an API key that it's from the right account.
- 2
If you're facing trouble, you can contact Stripe's support team at https://suppo
If you're facing trouble, you can contact Stripe's support team at https://support.stripe.com/email with a request ID from the failed request and as many other details at possible, and they'd be glad to help!
Validation
Resolved in stripe/stripe-node GitHub issue #636. Community reactions: 35 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep