#yanyubin

1 messages · Page 1 of 1 (latest)

ruby vergeBOT
cold violet
#

how can I help?

lapis sable
#

{
"id": "apwc_1NUq9iGpbmohA1yVF0T3WrCy",
"object": "apple_pay_domain",
"created": 1689595438,
"domain_name": "pay-test.livuchat.com",
"livemode": false
}
This response is ok?

cold violet
#

What's your question?

lapis sable
#

I use this step,but my page apple pay test fail

cold violet
#

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?

lapis sable
#

merchantId:acct_1IiGekGpbmohA1yV

cold violet
#

OK, you used your test api key to register this account. You should use your live api key instead

lapis sable
cold violet
lapis sable
#

I use sk_test

cold violet
#

You shoud use sk_live

lapis sable
#

I understander thanks

#

I use my test envrironment, the test env can use production envrironment live key ?

#

test account dones't sk_live

cold violet
#

No, you shoudln't use live mode key in test

lapis sable
#

but my test accout key is sk_test *****

cold violet
#

I don't quite understand your question.

#

What problem are you trying to resolve?

lapis sable
#

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.

cold violet
#

What error?

lapis sable
#

{
"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"
}
}

Allow customers to securely make payments using Apple Pay on their iPhone, iPad, and Apple Watch.

cold violet
#

is there a public URL that I can visit and see your Apple Pay integration?

lapis sable
cold violet
#

I mean what's the URL to your website?

lapis sable
cold violet
#

It's asking me to login, is there a test account that I can use?