#aksong-ApplePay
1 messages · Page 1 of 1 (latest)
when i try the same method that works in a live environment, i get this msg:
The account acct_xxxxx was a test account created with a testmode key, and therefore can only be used with testmode keys.
i'm using a live mode key for my platform b/c of guidance in this article: https://support.stripe.com/questions/setting-up-apple-pay-for-direct-charges-on-standard-connected-accounts
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.
Am I mis-interpreting that pg?
In which step did you receive that error? Can you provide a request id?
Did you re-deploy your backend server with the live keys?
so for the apple pay domain registration, i'm always using my live key
I'm not sure where to get a request id for this call. I don't see anything in my stripe logs. The error message I get is returned from server: nginx.
I'm getting the error from calling:
const result = await stripe.applePayDomains.create( { domain_name: domain }, { stripeAccount: connectAccountId });
The error states that the connectAccountId you are passing in is a test account, created by a test mode key
and this call is using a live key
so they can't be used together
right, but it also doesn't work when i use a test mode key
i don't get an error msg when i use my test mode key, but it doesn't work, meaning the domain doesn't seem to be registered
everything does work in production, but my goal is to create a test environment w/ appl pay
It'd be great to have a support document that details how to setup a test appl pay environment for connect...