#seekay369-testmode
1 messages · Page 1 of 1 (latest)
Yeah you're referring to a test mode payment method
If you create a payment method in test mode, you can't reference it in live mode
Test mode payment methods can't be used in live mode
You'd need to create the payment method using your live keys
In order to use it in live mode
Yes I am using my live key....
to create payment method
it is weird
const stripeApa = useStripe();
const { error, paymentMethod } = await stripeApa.createPaymentMethod({
type: 'card',
card: cardNumberElement,
//billing_details: billingDetails,
billing_details: {
email: values.email, // Replace with the actual email address
},
});
I using sk_live and pk_live key
Can you paste the payment method id in here so i can check
Can you paste the payment method id in here
So I don't have to manually type it out from your screenshot
pm_1Ng7y9Do5Duz2o7HGdYfeodm
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You're using your test key
That's what you're using to make the request