@Deprecated public class MiscellaneousHandler extends AbstractHandler
config| Constructor and Description |
|---|
MiscellaneousHandler(String baseApiUrl,
Config config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ApplePaySessionResponse |
requestApplePaySession(String validationUrl,
String domain)
Deprecated.
|
delete, delete, delete, delete, get, get, get, patch, patch, post, post, postWithoutBody, validateResponse@Deprecated public ApplePaySessionResponse requestApplePaySession(String validationUrl, String domain) throws MollieException
When integrating Apple Pay via Mollie, you cannot call Apple’s API but you should call this API instead. The response of this API call should be passed as-is to the the completion method, completeMerchantValidation.
Before requesting an Apple Pay Payment Session, you must place the domain validation file on your server at: https://[domain]/.well-known/apple-developer-merchantid-domain-association. Without this file, it will not be possible to use Apple Pay on your domain.
The guidelines for working with a payment session are:
validationUrl - The validationUrl you got from the ApplePayValidateMerchant event.domain - The domain of your web shop, that is visible in the browser’s location bar. For example pay.myshop.com.MollieException - when something went wrongCopyright © 2022. All rights reserved.