public class WalletHandler extends AbstractHandler
config| Constructor and Description |
|---|
WalletHandler(String baseApiUrl,
Config config) |
| Modifier and Type | Method and Description |
|---|---|
ApplePaySessionResponse |
requestApplePaySession(ApplePaySessionRequest body)
For integrating Apple Pay in your own checkout on the web, you need to provide merchant validation.
|
delete, delete, delete, delete, get, get, get, patch, patch, post, post, postWithoutBody, validateResponsepublic ApplePaySessionResponse requestApplePaySession(ApplePaySessionRequest body) 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:
body - ApplePaySessionRequest The validationUrl you got from the ApplePayValidateMerchant event.MollieException - when something went wrongCopyright © 2022. All rights reserved.