Using ApplePay
To use Apple you must pass the response you get back from google into the ApplePayPaymentDataResponse int the object ApplePay as seen below:
"PaymentMethod": {
"BillingAddress": {
"AddressLine1": "381 Forest Ave. Suite C",
"City": "Laguna Beach",
"State": "CA",
"PostalCode": "92651",
"Country": "USA"
},
"BillingFirstName": "Robert",
"BillingLastName": "Podlesni",
"ApplePay": {
"ApplePayPaymentDataResponse": "{\"apiVersionMinor\":0,\"apiVersion\":2,\"paymentMethodData\":{\"description\":\"Visa •••• 0658\",\"tokenizationData\":{\"type\":\"PAYMENT_GATEWAY\",\"token\":\"4989645910472511111\"},\"type\":\"CARD\",\"info\":{\"cardNetwork\":\"VISA\",\"cardDetails\":\"0658\"}}}"
}
},
Updated 2 days ago