public class MiscellaneousHandler extends AbstractHandler
| Constructor and Description |
|---|
MiscellaneousHandler(String baseApiUrl) |
| Modifier and Type | Method and Description |
|---|---|
ApplePaySessionResponse |
requestApplePaySession(String profileId)
For integrating Apple Pay in your own checkout on the web, you need to provide merchant validation.
|
ApplePaySessionResponse |
requestApplePaySession(String validationUrl,
String domain)
For integrating Apple Pay in your own checkout on the web, you need to provide merchant validation.
|
delete, delete, delete, get, get, patch, patch, post, post, postWithoutBody, validateResponsepublic MiscellaneousHandler(String baseApiUrl)
public ApplePaySessionResponse requestApplePaySession(String profileId) 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:
profileId - A profile IDMollieException - when something went wrongpublic 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 - A validation urldomain - a domainMollieException - when something went wrongCopyright © 2020. All rights reserved.