Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding a default billing contact for an Apple Pay request

I'm building an app that uses Apple Pay and as you can see below, when I display the PKPaymentAuthorizationViewController, it's not getting the current user's billing address and email. If the user has used Apple Pay before, they are likely have this data somewhere. I see in the docs there is a PKContact variable on PKPaymentRequest.

Is there a way to get this data and pre-fill it for the first time user of my app?

enter image description here

like image 794
Zack Shapiro Avatar asked Oct 18 '25 05:10

Zack Shapiro


1 Answers

Users have to enter that information themselves in the iOS Settings app. Then it should be automatically filled out for all websites, apps, ec. that support Apple Pay.

To do this, simply:

  1. Open the Settings app.
  2. Tap "Wallet & Apple Pay"
  3. From there, simply add a credit or debit card, then fill out the default information. Now it should appear automatically in any transactions.
like image 93
Coder-256 Avatar answered Oct 22 '25 08:10

Coder-256