For Apple Pay, we should be able to hide the contact fields (name, address, email) and get all of the donor's info from the onAuthorized callback. We could then submit them via the extraData array that gets passed to our backend MW API call.
|Open||None||T277120 Epic: Adyen reintegration, Drop In Web|
|Open||Ejegg||T285722 Adyen Checkout: Pull donor contact from Apple Pay sheet|
@Ppena @EMartin - In order to get the donor's name and address from Apple Pay without them having to type it, I had to mark it as required. I'm guessing that the majority of Apple Pay users DO have a billing address configured, but those who don't will see the error @Cstone posts above.
There is no way to automatically retrieve that info without marking it as required. Is it worth adding the barrier for donors who DON'T have a billing address configured?
In fact, Apple requires a billing address to make a payment so we won't see users with no billing address:
You will need to enter your info in each of the required fields if you want to create an iTunes account. If you enter your credit card details, which if you use the instructions on the HT2731 page that you posted from then you probably will, then your billing address will be needed for its validation.
It is possible to have an Apple ID without a payment method associated, but you then can't make a payment. That requires the card and billing address. So we won't be leaving a group of donors out by requiring the billing address. Hope that helps.