Issue with Apple Pay Domain Registration - HTTP 500 Internal Server Error

royzhong
Contributor
Contributor

Hello,

 

I am encountering an issue while trying to register a domain for Apple Pay integration using PayPal's API, following https://developer.paypal.com/docs/multiparty/checkout/apm/apple-pay/#link-setupyoursandboxaccounttoa.... Despite following the documentation and ensuring the sellers are onboarded, Apple Pay options set up for the sandbox business account, the domain association file downloaded and placed on my server, and its accessibility confirmed, my request consistently returns a 500 Internal Server Error with a JSON decode error.

 

Any insights or solutions to resolve this issue would be greatly appreciated.

 

Endpoint: https://api-m.sandbox.paypal.com/v1/customer/wallet-domains

Response:

HTTP Status Code: 500
Error: JSON decode error: Syntax error

 

 

Login to Me Too
2 REPLIES 2

testusersssss
New Community Member

I am having the exact same issue

Login to Me Too

royzhong
Contributor
Contributor

More information:

The request body is { "provider_type": "APPLE_PAY", "domain": { "name": "mywebsite.com" } }

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.