#jatinpatel0708
1 messages · Page 1 of 1 (latest)
I'm able to find this request ID in my system. Can you share the connected account ID (acct_xxx) that you intend to add?
Why do you need to add Apple Pay domain to Express connected account. Only Destination Charges and Separate Charges and Transfers are recommended on Express connected account and it's not needed to add Apple Pay domain on it
Are you using Direct Charges on Express connected account?
By checking the log history, it looks like you're using Direct Charges on Express connected account. This is generally not recommended.
In any case, if you use Direct Charges, adding apple domain is required (although this charge type is not recommended on Express connected account)
Can you share the code how you add the Apple Pay domain? I don't see Apple Pay domain added and neither I can find the request of adding the Apple Pay domain
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.stripe.com/v1/apple_pay/domains',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => 'domain_name=www.givingx.com',
CURLOPT_HTTPHEADER => array(
'Stripe-Account: acct_1NW1eBGgKrL27bM6',
'Content-Type: application/x-www-form-urlencoded',
'Authorization:'
),
));
$response = curl_exec($curl);
curl_close($curl);
here is my code
We need to create charge direct in the connected account
What is the response you get?
{
"error": {
"message": "We attempted to retrieve the file at https://www.givingx.com/.well-known/apple-developer-merchantid-domain-association, but received a 404 status code from your server. Please check that the file is hosted correctly. Note that our servers most likely send different HTTP headers than your browser; you should check your logs to see why the request failed. For more information, see https://stripe.com/docs/stripe-js/elements/payment-request-button#verifying-your-domain-with-apple-pay.",
"request_log_url": "https://dashboard.stripe.com/acct_1NW1eBGgKrL27bM6/logs/req_Gx6kx2D273UgZf?t=1689922221",
"type": "invalid_request_error"
}
}
Did you host domain association file in https://www.givingx.com as suggested here? https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account