#dxkite_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230692781983404032
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
pmd status is active on apple_pay:
{
"id": "pmd_1P6reaHv726MzAnz1Pl6oxR5",
"object": "payment_method_domain",
"apple_pay": {
"status": "active"
},
"created": 1713433996,
"domain_name": "ace-3.stg.myshoplaza.com",
"enabled": true,
"google_pay": {
"status": "active"
},
"link": {
"status": "active"
},
"livemode": false,
"paypal": {
"status": "active"
}
}
For Connect please register with your Live Secret Key. I think pmd_1P6reaHv726MzAnz1Pl6oxR5 is registerd in Test mode
this api is not work for test mode? i just want to use this domain for test
I am confirming but that's likely the case
When you test, did you use the Platform test publishable key with the Stripe Account header?
i use the merchant_id with the Stripe Account header.
this is my test request like in curl:
curl --location 'https://api.stripe.com/v1/payment_method_domains'
--header 'Stripe-Account: acct_1BklElHv726MzAnz'
--header 'Content-Type: application/x-www-form-urlencoded'
-u '<My Platform Private Test Key prefix with "sk_test_">'
--data-urlencode 'domain_name=ace-3.stg.myshoplaza.com'
acct_1BklElHv726MzAnz is the connect merchant id
the error i got at console log when use the js sdk, source code like , api docs:
https://docs.stripe.com/stripe-js/elements/payment-request-button?client=html&html-or-react=html&mpan=recurring#html-js-using-with-connect
this.stripe = window.Stripe(this.publicKey, { stripeAccount: <Merchant Id> });
Yeah, can you look at the networking tab and see if there is an errored request
please paste the request id req_xxx if you find one
no errored api find in the networking tab
need i always pass stripe account when i use jdk ? like code:
window.Stripe(this.publicKey, { stripeAccount: <Merchant Id> });
it work when google pay without stripe account parameter, but not work when apple pay without stripe account parameter
You should pass stripe account header there to the connected accound id
Do you have an accessible URL?
And please share the exact code and value you are using
js code: window.Stripe('pk_test_JfhHGSpy93kq0SXmuI1XIpio00aeWMQM2I', { stripeAccount: 'acct_1BklElHv726MzAnz' });
the fe engineer said it was fe bug, it worked now 🥹 , can we always pass the stripe account id when load js sdk?
It’s one time initialization AFAIK. Glad to hear you figured it out!