#yanyubin
1 messages · Page 1 of 1 (latest)
how can I help?
{
"id": "apwc_1NUq9iGpbmohA1yVF0T3WrCy",
"object": "apple_pay_domain",
"created": 1689595438,
"domain_name": "pay-test.livuchat.com",
"livemode": false
}
This response is ok?
What's your question?
I use this step,but my page apple pay test fail
Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details
Also is there a public URL that I can visit and see your Apple Pay integration?
merchantId:acct_1IiGekGpbmohA1yV
OK, you used your test api key to register this account. You should use your live api key instead
I'm frontend, live api key is backend service ?
It's the mode of the API key. Learn more about Key here https://stripe.com/docs/keys
I use sk_test
You shoud use sk_live
I understander thanks
I use my test envrironment, the test env can use production envrironment live key ?
test account dones't sk_live
No, you shoudln't use live mode key in test
but my test accout key is sk_test *****
We want to access element apple pay, we must run it successfully in our test environment first, but I use the test environment to follow the steps in the document, and an error will be reported when the apple pay button is clicked.
What error?
{
"error": {
"message": "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_l95jd9K77JENGO?t=1689665559",
"type": "invalid_request_error"
}
}
is there a public URL that I can visit and see your Apple Pay integration?
I mean what's the URL to your website?
It's asking me to login, is there a test account that I can use?