#jatinpatel0708
1 messages · Page 1 of 1 (latest)
Can you share the URL?
https://www.givingx.com/f/fr-deus-orphanage/donate
here is the URL click on "Continue to Donate"
Choose Apple Pay
There?
please click here and Choose Apple Pay
Gotcha
I can see the ApplePay sheet
No issue
Do you notice anything on the browser console?
Wait I Will send you the console Response
<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/6508ba15d0002f0fed03fd50?lang=en" frameborder="0" scrolling="no" seamless="seamless"></iframe>
i am facing same issue here as well can you please check
What issue? That's only an iframe HTML
do you notice any error on the browser console?
here is the same issue Apple Pay button is showing but when I click on Apple Pay the Pop-up opens and closes
here is the browser Console
Hmm what URL is that 400 error?
i will send wait
How can I add an Apple Pay Domain To connected Account can you please share API link because I am not finding this API
Why? I think your page is already working as it con open the ApplePay sheet for me. Don't think you are lacking any settings on your account
Anw here is the API https://stripe.com/docs/payments/payment-methods/pmd-registration?platform=api#register-your-domain-while-using-connect
have you checked it here Apple Pay is working
because I am facing same issue on the Both Page
<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/6508ba15d0002f0fed03fd50?lang=en" frameborder="0" scrolling="no" seamless="seamless"></iframe>
when i have Regsiter Domain for the Apple Pay that time I am using this code:
$applePayDomain = $stripe->applePayDomains->create([
'domain_name' => 'www.givingx.com'
], [
'stripe_account' => $user->stripe_account_id
]);
Yeah the button is clickable and I can bring the sheet displayed as the screnshot you see
Yes payment sheet open completely fine with payment info and card listing but after some time in processing it was immediately close the popup and not making the payment fail and successfull..
And you don't notice anything from your Dashboard? Is this Test mode or Live mode?
Live Mode
Can you configure a Test mode site with unminified JS? Then we can test your site
<iframe id='giving-iframe' allow='payment' class='iframe-class ifram-scroll-infomain' style='width: 475px; height: 950px; border-radius: 10px;' src='https://staging.admin.givingxcelerator.com/forms/data/embedded/650d548aea8a8e29ae053d20?lang=en' frameborder='0' scrolling='no' seamless='seamless'></iframe>
here you can check it in Testing mode, and testing mode in working fine
URL: https://api.stripe.com/v1/apple_pay/sessions
Status: 400
Source: Network
Address: 13.228.126.182:443
Initiator:
shared-e44647061d786a27d7732490965070da.js:1:163003
status: 400
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin: https://js.stripe.com
Access-Control-Expose-Headers: Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
Access-Control-Max-Age: 300
Cache-Control: no-cache, no-store
Content-Length: 417
Content-Security-Policy: report-uri https://q.stripe.com/csp-report?p=v1%2Fapple_pay%2Fsessions; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Content-Type: application/json
Date: Thu, 14 Dec 2023 05:08:14 GMT
idempotency-key: 2cf165a0-1af0-41e4-a2ed-7b51fe68cbfd
original-request: req_89vxB9JXHKvwRM
request-id: req_89vxB9JXHKvwRM
Server: nginx
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
stripe-account: acct_1NW1eBGgKrL27bM6
stripe-should-retry: false
stripe-version: 2022-11-15
Timing-Allow-Origin: https://js.stripe.com
Vary: Origin
x-stripe-routing-context-priority-tier: livemode
here is the request id: req_89vxB9JXHKvwRM, which is I am getting in the Console response
so you're saying that it's working fine in your test site : https://staging.admin.givingxcelerator.com/forms/data/embedded/650d548aea8a8e29ae053d20?lang=en, but doesn't work in your production site : https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en for you?
Yes
in the Live Mode: the payment sheet opened completely fine with payment info and card listing but after some time in processing it was immediately closed
Do you attempt to pay? Or you just leave it open and not pay?
I am not able to Pay because the Payment Sheet is Closed immediately
are you using a real card to attempt payment?
Yes
When you trying to pay payment sheet opned always or closed??https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en for you?
it's working fine for us. When we look at our logs, it looks like you're using the sandbox for Apple Pay
I'll recommend you try on another device/account where you're certain that you don't have any Apple Pay sandbox enabled on the account
okay. I will try and come back to you in a couple of time
just so you're aware, we don't support support Google Pay or Apple Pay for Stripe accounts and customers in India. Therefore, you can’t test your Google Pay or Apple Pay integration if the tester’s IP address is in India, even if the Stripe account is based outside India.
okay
Hi here is the Response using the Live Card
is there a Change Add Apple Pay Domain Policy in stripe?
{
“error”: {
“message”: “Before you can start using Apple Pay on the Web, you need to first register your domain. For more information, see https://stripe.com/docs/payments/payment-methods/pmd-registration.“,
“request_log_url”: “https://dashboard.stripe.com/acct_1NW1eBGgKrL27bM6/logs/req_2bPIp9Hm655cHv?t=1702535493”,
“type”: “invalid_request_error”
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Have you registered your domain for Apple Pay?
not yet!
i have registered the domain here
$applePayDomain = $stripe->applePayDomains->create(['domain_name' => 'www.givingx.com'], ['stripe_account' => $user->stripe_account_id]);
the Apple Pay domain App functionality is changed?
https://stripe.com/docs/payments/payment-methods/pmd-registration Yes we now have a new API for payment method domain registration.
I want to know When the change the policy for adding the domain. because i am using this code for the add Domain,
can I know this?
$applePayDomain = $stripe->applePayDomains->create(['domain_name' => 'www.givingx.com'], ['stripe_account' => $user->stripe_account_id]);
this is the Correct method or Not?
I'll suggest using https://stripe.com/docs/payments/payment-methods/pmd-registration instead
Got it, it means this method which I have integrated before is deprecated right?
it'll work for what you've already registered, we'll migrate those existing registrations. Eventually we'll require you to register it via https://stripe.com/docs/payments/payment-methods/pmd-registration instead
okay
I have register the Domain for the connected account but still Apple Pay is not working
<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/6508ba15d0002f0fed03fd50?lang=en' frameborder='0' scrolling='no' seamless='seamless'></iframe>
here is the my form code can you please check and let me know
The Apple pay button is showing, but when i click on the Apple Pay Button the Payment sheet Open and after the processing it close automatically, i am not able to pay
I just opened that link and it's loading fine for me. It seems like it's a device issue specific to you
can you ask an overseas colleague to test?
Apple Pay is loading fine on my device, but when i click on to Apple Pay button "Payment sheet Open and after the processing it close automatically,"
the payment sheet opens and stays there waiting for me to pay it
it does not close automatically for me
multiple folks on my team have tried and it's working fine for them. We don't encounter the same error that you are seeing. Can you get an overseas colleague to test?
okay let me check again
I have checked and still getting issue, I have received this, and I have Tested it 3 different device
{
“error”: {
“message”: “Before you can start using Apple Pay on the Web, you need to first register your domain. For more information, see https://stripe.com/docs/payments/payment-methods/pmd-registration.“,
“request_log_url”: “https://dashboard.stripe.com/acct_1NW1eBGgKrL27bM6/logs/req_2bPIp9Hm655cHv?t=1702535493”,
“type”: “invalid_request_error”
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
here is the Payment Method Domain id: pmd_1NbbupGgKrL27bM664OjcE1F
to confirm, this is the site right? https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en'
yes, confirmed
have you verified the domain also? https://stripe.com/docs/payments/payment-methods/pmd-registration?platform=api#verify-your-domain-with-apple-pay
remember that you should use the StripeAccount header to do the domain registration on the connected account also
Yes, I am using the connected account,
yes. i have verified the Domain
here is the payment method domain id: pmd_1NbbupGgKrL27bM664OjcE1F
can you please check
Can you share the screenshot of your checkout page with domain along with the error?
{
“error”: {
“message”: “Before you can start using Apple Pay on the Web, you need to first register your domain. For more information, see https://stripe.com/docs/payments/payment-methods/pmd-registration.“,
“request_log_url”: “https://dashboard.stripe.com/acct_1NW1eBGgKrL27bM6/logs/req_2bPIp9Hm655cHv?t=1702535493”,
“type”: “invalid_request_error”
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I'd need the screenshot of your webpage which the error was thrown, not this error message
Is this page iframe-ed into other page, i.e. another domain?
the Both are not working
Sorry, what "both" are you referring to here?
Can you share the exact website that you attempt to make Apple Pay from? Not the embedded one?
The same Domain and Iframe are from the Other Domain the both is not working
https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en
I'm able to see Apple Pay showing
If you iframe-ed the embedded page, the domain should be registered at the website that it belongs to, not givingx.com
For example, if the embedded page is iframed into www.test.com, the domain should be registered as test.com
have you check it here: https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en
Yes, I can see Apple Pay too
{
“error”: {
“message”: “Before you can start using Apple Pay on the Web, you need to first register your domain. For more information, see https://stripe.com/docs/payments/payment-methods/pmd-registration.“,
“request_log_url”: “https://dashboard.stripe.com/acct_1NW1eBGgKrL27bM6/logs/req_2bPIp9Hm655cHv?t=1702535493”,
“type”: “invalid_request_error”
}
}
The logs at our end showed that Apple Pay was accessed from another domain, not givingx.com
I'd recommend writing in to Support https://support.stripe.com/contact/email with above request ID (req_2bPIp9Hm655cHv) now, so that we can share the exact domain that you accessed the Apple Pay from
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.
once you've written in please let us know so that we can respond
Got it, but when I access it without Iframe with the same Domain it still Not working
https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en
Apple Pay won't be shown if you open the page in India as Stripe doesn't support Apple Pay in India
I'm accessing this page outside of India and Apple Pay is showing fine for me
Client Is checking in USA
he face same Issue
Same issue {
“error”: {
“message”: “Before you can start using Apple Pay on the Web, you need to first register your domain. For more information, see https://stripe.com/docs/payments/payment-methods/pmd-registration.“,
“request_log_url”: “https://dashboard.stripe.com/acct_1NW1eBGgKrL27bM6/logs/req_4cDYxeKndx83Nn?t=1702543938”,
“type”: “invalid_request_error”
}
}
Client Sent it to me
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
https://www.givingx.com/org/forms/data/embedded/6508ba15d0002f0fed03fd50?lang=en
client is Cheking here