apple pay sheet shippingContact display issue

when i integrate apple pay to our website, i pass `ApplePayPaymentRequest

` like this:

```javascript

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.


[Edited by Moderator]

iPhone XR, iOS 17

Posted on Aug 2, 2024 3:18 AM

Reply

Similar questions

3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

apple pay sheet shippingContact display issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.