Apple Pay Test Environment - The Right Way

Hi team,

We were wondering what's the correct way of configuring a test environment with Apple Pay.

Not sure if this is explicitly mentioned in the documentation, but in order to avoid having the same certificates shared between test and production, should we have a different merchant identifier (and pair of certificates) for test purposes only?

The above is the main question. However, two follow up questions:

  • Do you know if payment processors usually allow the merchant ID to be configured, so that only payments generated with the prod certificates can be accepted?

  • Is there any risk of someone getting hold of the certificates generated for the test environment (which are usually less safe than production) and using that to process payments in production?

Answered by dougbkyndryl in 822750022

Our payment provider requires different certificates in their production and non-production environments. Which does require two Apple Merchant IDs. (We added a ".test" suffix to our non-production one.)

I can't speak for how other providers would answer this.

Accepted Answer

Our payment provider requires different certificates in their production and non-production environments. Which does require two Apple Merchant IDs. (We added a ".test" suffix to our non-production one.)

I can't speak for how other providers would answer this.

Thanks dougbkyndryl - it seems like the right way of doing this at least for us.

Apple Pay Test Environment - The Right Way
 
 
Q