How can dev know the type of the card once the user select via apple pay and how to update the price and fee to charge user? We are trying to charge fee base on the type of the card.
How can dev know the type of card (visa/mastercard) user are selecting via the apple pay
Implement the onpaymentmethodselected
handler. It will be invoked whenever the user selects the payment method, and you'll be able to call completePaymentMethodSelection
with an updated payload to adjust fees or other properties for the transaction.
Check out the documentation and the demo site at https://applepaydemo.apple.com/
Hi @aeontech ,
Do we have an option for the same in native ?
I'm trying to use apple pay plugin for Cordova and looking for the native event support for this 'onpaymentmethodselected' ?