Distribute Apple Pay app through enterprise account

app-store-connect, ios

Solution

I ended up with those two solutions:

When the need of Apple Pay is the highest, distribute with Apple Pay through App Store account with adhoc distribution profile.

When the need for Enterprise distribution is the highest, distribute through the Enterprise account with adhoc distribution profile, and with Apple Pay Stubs https://github.com/stripe/ApplePayStubs from Stripe.

I go from one to the other depending on a pre-processor macro.

Problem

Enterprise accounts can't generate merchant id for Apple pay. Is there any way to distribute apps that support Apple pay through an enterprise account for beta testers or the only way to do so is to remove Apple Pay from the project?

Original source