We are having trouble trying to renew our Apple Pay Merchant Identity Certificate. We can create the CSR file and add to the developer portal. We then convert this to a .pem and then a .p12.
When we test the certificate in Postman however, we see the following error:
"statusMessage": "Payment Services Exception pspId=xxxx unauthorized to process transactions on behalf of merchantId=xxxx reason=xxxx is not a registered merchant in WWDR and isn't properly authorized via Mass Enablement, either.",
"statusCode": "417"
We are sending the following POST request to 'https://apple-pay-gateway.apple.com/paymentservices/paymentSession':
{"merchantIdentifier": "merchant.com.xxxx.applepaytest",
"domainName": "beta-xxxx.com",
"displayName": "beta-xxxx.com"}
Anyone got any ideas what the issue may be?
In the meantime I will look at completing our domain verification as that is also due soon and we thought it may possibly have something to do with the certificate issues we are seeing.
Hi @team65,
The error you received is provided by the Apple Pay Web Merchant Registration API, which is intended for payment platforms and e-commerce providers.
Please see the following post to answer your questions about configuring multiple providers, payment gateways, and merchants with this API:
Apple Pay Web and Ecommerce site hosting Multiple Merchants on a Single Domain Site
https://developer.apple.com/forums/thread/61538?answerId=829805022#829805022
If you do not manage a portfolio of merchants, please follow the steps outlined in the documentation below to configure your merchant in the Developer portal:
Configuring Your Environment
https://developer.apple.com/documentation/applepayontheweb/configuring-your-environment
Cheers,
Paris X Pinkney | WWDR | DTS Engineer