when i integrate apple pay to our website, i pass `ApplePayPaymentRequest
` like this:
const paymentRequest = {
countryCode,
currencyCode,
merchantCapabilities,
supportedNetworks,
total: {
label: "Demo (Card is not charged)",
amount: totalAmount,
type: "final",
},
requiredBillingContactFields: [
"postalAddress",
],
requiredShippingContactFields: [
"postalAddress",
],
shippingContact: {
addressLines: ['402 Vinnie Brooks Suite 707'],
administrativeArea: "NB",
country: "Canada",
countryCode: "CA",
emailAddress: "qqq@qq.com",
familyName: "gfhh",
givenName: "dfg",
locality: "W*********h",
phoneNumber: "6******7",
postalCode: "M*****4",
},
};
but when apple pay sheet show, the shippingContact
dispaly like this (it just show user name, not show the details):
should i do what in order to display the details of the shippingContact, please help me. Thanks.
Hi @reco_letter,
Please see the Apple Pay on the Web Demo to learn more about requesting a shipping address from customers:
Apple Pay on the Web: Request a shipping address
https://applepaydemo.apple.com/#shippingAddressSelection
Cheers,
Paris X Pinkney | WWDR | DTS Engineer