#jatinpatel0708_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254709807534051368
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
here is the Registered Domain ID: pmd_1PUXbL2eK5EuH4UleypGurJB
Hi, let me help you with this.
Are both the outer and inner iframe domains verified?
Yes
Also, what do you mean by "not wokring" exactly?
Yes,
{
"id": "pmd_1PUXbL2eK5EuH4UleypGurJB",
"object": "payment_method_domain",
"apple_pay": {
"status": "active"
},
"created": 1719076787,
"domain_name": "ayudamadresybebeslaps.com",
"enabled": true,
"google_pay": {
"status": "active"
},
"link": {
"status": "active"
},
"livemode": true,
"paypal": {
"status": "active"
}
}
here is the Resposnse when I have validate it
https://ayudamadresybebeslaps.com/
i have host Iframe here
Los Angeles Pregnancy Services offers compassionate care and support for both mother and child. Providing comprehensive pregnancy services since 2000, we are dedicated to promoting maternal and child health in the Los Angeles area.
"Apple Pay is Not Active" - how are you setting this?
I have Register Domain for this "ayudamadresybebeslaps.com" via API and validate it, after this I have Host Iframe on this "ayudamadresybebeslaps.com" Domain
Here's some considerations regarding iframes and Apple Pay: https://docs.stripe.com/apple-pay?platform=web#web-integration-considerations
Could you try adding allow="payment" to your iframe?
<iframe id="giving-iframe" allow="payment" class="iframe-class ifram-scroll-infomain" style="width: 475px; height: 950px; border-radius: 10px;" src="https://www.givingx.com/org/forms/data/embedded/6667480be1f8d1cd29091771?lang=en" frameborder="0" scrolling="no" seamless="seamless"></iframe>
I have already added it
Is www.givingx.com verified too?
Yes
can you please check this, i am getting this on: wallet-config API
"apple_pay_available": {
"payment_request_button": false,
"token_notification_url": "https://pm-hooks.stripe.com/apple_pay/merchant_token/pDq7tf9uieoQWMVJixFwuOve/acct_1PQD6e2eK5EuH4Ul/"
},
Yes, I am looking at it too. Not sure why yet...
okay
do you have a link to the exact payment page you're saying is not working so I can try it on my side?
also note that if you are in India, it will never work for you
https://www.givingx.com/org/forms/data/embedded/6667480be1f8d1cd29091771?lang=en
here is the Payment Page Link:
The client is From the United States he is Check in the Unites States
you're using Connect on that page and using acct_1PQD6e2eK5EuH4Ul as a stripeAccount I think? But that account does not exist, seems like you might have made a typo.
you must register the domain on that account when using Connect, which you have not done. See https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=api#register-your-domain-while-using-connect for the details of the API call you need to make.
Yes, I Integrated Connect Account, With "Standard" type
I have followed all these steps and validated the domain, but it is still not working.
you have not followed the steps, the domain is still not registered on that connected account.
You need to make those API calls described in the doc to register it on that specific account.
👋 taking over for my colleague. Let me catch up.
Okay, I will check it again.
let me know if you need any more help
{
"id": "pmd_1PUXbL2eK5EuH4UleypGurJB",
"object": "payment_method_domain",
"apple_pay": {
"status": "active"
},
"created": 1719076787,
"domain_name": "ayudamadresybebeslaps.com",
"enabled": true,
"google_pay": {
"status": "active"
},
"link": {
"status": "active"
},
"livemode": true,
"paypal": {
"status": "active"
}
}
I have followed those steps and again registered Domain. and I am getting this Above response from the Stripe.
how are you registering the domain?
Yes
how? what's the request ID? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site 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.
I Have Followed these Steps:
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect
here is the request Id: req_9s7g7yJrp0a70Q
you're creating the request on your platform account
you're not passing the StripeAccount header
as mentioned in the code you just shared
curl --location 'https://api.stripe.com/v1/payment_method_domains'
--header 'Stripe-Account: acct_1PQD6e2eK5EuH4Ul'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic *******************************'
--data-urlencode 'domain_name=ayudamadresybebeslaps.com'
here is the Curl can you please verify
-u "sk_xxxx:" \
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}" \
-d domain_name="example.com"```
I have added a Domain using This above Curl but Apple Pay still now working
what's the request ID
I added it using Postman
the StripeAccount header is not being passed somehow
can you please check is there any mistake in my Curl:
curl --location 'https://api.stripe.com/v1/payment_method_domains'
--header 'Stripe-Account: acct_1PQD6e2eK5EuH4Ul'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic XXXXXXX'
--data-urlencode 'domain_name=ayudamadresybebeslaps.com'
can you use the curl I sent you instead?
yes, I have used this:
curl https://api.stripe.com/v1/payment_method_domains
-u "sk_xxxx:"
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"
-d domain_name="example.com"
what's the request ID
please @latent sorrel each time you execute a new request send the request ID so we could check what happened
Response body
{
"id": "pmd_1PUXbL2eK5EuH4UleypGurJB",
"object": "payment_method_domain",
"apple_pay": {
"status": "active"
},
"created": 1719076787,
"domain_name": "ayudamadresybebeslaps.com",
"enabled": true,
"google_pay": {
"status": "active"
},
"link": {
"status": "active"
},
"livemode": true,
"paypal": {
"status": "active"
}
}
yes,
now you need to verify your domain https://docs.stripe.com/apple-pay?platform=web#verify-domain
Hey! Taking over for my colleague. Let me catch up.
I see that apple_pay, google_pay, link and paypal are active now
What issue are you still facing exactly ?
When I check Apple Pay on my domain, Apple Pay is not working on my Connected Account:
"apple_pay_available": {
"payment_request_button": false,
"token_notification_url": "https://pm-hooks.stripe.com/apple_pay/merchant_token/pDq7tf9uieoQWMVJixFwuOve/acct_1PQD6e2eK5EuH4Ul/"
},
"is_connect_platform": true,
"verified_payment_methods_on_domain": {
"google_pay": true,
"apple_pay": false,
"link": true
},
here is the my Iframe:
<iframe id="giving-iframe" allow="payment" class="iframe-class ifram-scroll-infomain" style="width: 475px; height: 950px; border-radius: 10px;" src="https://www.givingx.com/org/forms/data/embedded/6667480be1f8d1cd29091771?lang=en" frameborder="0" scrolling="no" seamless="seamless"></iframe>
The domaine regsitred is ayudamadresybebeslaps.com and not www.givingx.com you should register all your domains
Okay, I will add it and get back to you.