Mass enablement transactions - how to fix!

Hi there - during the validation step we got this response from https://apple-pay-gateway.apple.com/paymentservices/startSession:

Code Block
{"statusMessage":"Payment Services Exception merchantId=B61154FB60B2B4F0AECDC6D0D2D1A0AE94FC1FC20ECD2975B4D5F8DD3C6AXXXX unauthorized to process transactions on behalf of merchantId=B61154FB60B2B4F0AECDC6D0D2D1A0AE94FC1FC20ECD2975B4D5F8DD3C6AXXXX reason=\"B61154FB60B2B4F0AECDC6D0D2D1A0AE94FC1FC20ECD2975B4D5F8DD3C6AXXXX never authorized mass enablement transactions to occur via B61154FB60B2B4F0AECDC6D0D2D1A0AE94FC1FC20ECD2975B4D5F8DD3C6AXXXX\"","statusCode":"400"}


(XXXX added to mask - notice how the merchantId is the same throughout)

We got this error after we regenerated both certificate types using a new CSR from our PSP, Cardstream. I reverified our domain (it did generate a new file for .well-known, and it verified successfully).

I am posting here in case someone has the same problem and is stuck.

Here's the answer - you need to delete the domain completely. Reverifying is not enough. Delete the domain, add it again and verify it. It works.

Have a good one everyone :-)

Was yanking my hair out for a little while.. But then an obvious solution came to mind which actually worked..

When you create a new ApplePaySession object, you pass the Apple Pay version to use, and the PaymentRequest object..

Update the Apple Pay version to the latest version.. In my case, I updated 10 to 14, and the error vanished.. I wouldn't be surprised that version 10 is not entirely compatible with version 14..

Mass enablement transactions - how to fix!
 
 
Q