#dopeboyz
1 messages · Page 1 of 1 (latest)
Can you share the request ID (req_xxx) where you faced the error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_rSVFoj0Y5WeH0T
The payment method pm_1MgfXKGYvC6CYP5GaqQe0bJW was created on acct_1LD7qBGYvC6CYP5G. However, you're trying to attach it to the customer created on acct_1MA2TRA6RSS0ndD1
That means both are using different api keys?
It looks like your publishable key and secret key are from different accounts
- Publishable key is the one used in frontend and it should like
pk_xxx - Secret key is the one used in backend and it should like
sk_xxx
I'd recommend checking the keys in https://dashboard.stripe.com/test/apikeys and ensure they are from the same account