Contract definition in the merchant mode “Wrapper”
This mode is recommended for example in the context of a group composed of several legal entities that share a single domain name that could be called “master domain”.
A master domain is when the main URL is shared between several clients. For example, all of the group’s clients share a master domain (e.g.: https://www.domain-name.net). Each client has their own URL that dissociates it from the other one (e.g.: https://www.domain-name.net/city1, https://www.domain-name.net/city2, etc.)
The group’s customers who want to set up an Apple Pay contract using the modeMerchantand whose domain depends on the master domain must therefore use this contract definition mode called“Wrapper”.
A first contract should be created in theMerchant. This contract may be fictitious or reserved for the group’s first customer.
Thus, only one merchant identifier will be created on the Apple Pay Developer account and the URL of the master domain will be declared there (e.g.: https://www.domain-name.net).
Then, this merchant ID will be associated with each Apple Pay contract created by a customer with a URL dependent on the master domain.
To associate them, each customer will need the Apple Pay merchant ID created for that master domain and their company ID (SIRET (Système d'Identification du Répertoire des Etablissements)).