When submitting Apple Pay Sheet, PKPayment from paymentAuthorizationViewController: didAuthorizePayment: will give me shipping and billing details, depending on what I set in the PKPaymentRequest.
However, due to primitive testing (Apple Pay not launched in the UK), Stripe's basic ApplePaySheetStub and iOS9's issue with requesting PKAddressFieldName, I haven't been able to find out the answer to this question: In Apple Pay Sheet - what is the difference between the name under CONTACT section and name under SHIPPING section?
I can find name from SHIPPING section from PKPayment, but should name under CONTACT section be populated, where would I find that post-authorisation
[...] should name under CONTACT section be populated, where would I find that post-authorization
All the contact information along with shipping address is coalesced into a single ABRecordRef (shippingAddress) so you'd find it in there.
From talking to Apple, the name under CONTACT section will only appear if the payment request didn't include shipping Address field. In other words, PKAddressFieldPostalAddress & PKAddressFieldName can't be both requested for shipping.
Based on that explanation, you won't see name under contact and under shipping. Its one or the other.
Related
This app is in the store from 2015 and never have problem with apple pay.
Recently i made an update and submit the app to the store but it was Rejected, this is the information reported in the review:
Your app uses Apple Pay as a purchasing mechanism but does not use Apple Pay branding and user interface elements appropriately as described in the Apple Pay Human Interface Guidelines.
Specifically, your Apple Pay sheet does not include the following:
Product description and specifications
payee name
This is the screenshot of my Apple Pay sheet
what does it mean "Product description and specifications"? do I have to add all the products purchased? I never see the products in apple pay sheet..
also i read this https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/checkout-and-payment/ and there isn't any reference to products
The total line should include your payee name, as per the guidelines;
Provide a business name after the word PAY on the same line as the total. Use the same business name people will see when they look for the charge on their bank or credit card statement. This provides reassurance that payment is going to the right place. For example: PAY [COMPANY_NAME].
You can see more examples on Apple's site - Note how it says "PAY THE NORTH FACE" and "PAY DOORDASH".
The guidelines don't say anything about product description and specifications, but you should include lines for the subtotal and VAT if applicable.
I would fix this and resubmit. If Apple still has a problem with product description, I would request more information from them.
You can add the payee name like this
paymentRequest.paymentSummaryItems = [PKPaymentSummaryItem(label: "Payee name", amount: 0)]
I'm working on an app for a product which will only be available to ship to the USA and Europe at launch. It appears that the Stripe SDK by default allows any country to be selected in the shipping address.
The only thing I could find on this topic was this SO post from a year ago, not sure if this has changed.
This must be a common use-case - is there a way to configure white-listed countries for shipping, or else what is the intended way to handle this?
Overview:
I have an IOS app that allows a user to create an order from menu items and then check out that order using a credit card.
I am aware that you cannot store a users credit card information and that this can only be stored with a registered authority i.e.: the credit card gateway (somewhere that is PCI compliant).
The Question:
I need to store a users first name, last name, mobile number and email address, so these fields can be autofilled on a future order. Just to be clear the name and number are not in any way associated with the credit card or payment method, that is a separate field and is handled differently. This is just user information for the actual order that is handled through our servers.
Could I store these pieces of information in NSUserDefaults so when the user goes to checkout in the future these fields are autofilled?
You can definitely store the information in NSUserDefaults but as others have pointing out a database like SQLITE will be a better option. In the future your app might grow and might want history of items user has purchased or shown interest in. At that point you don't want to store collections in NSUserDefaults.
One more option for you is using Core data
I am working on Integrating Apple Pay in my app. I need following details to post to api :
1. Name on the card,
2. last 4 four digits,
3. type of card (VISA, AMEX etc)
Is there a way to retrieve those from the card selected by user in Apple Pay tray ?
You cannot get the name on the card via ApplePay. This is one of the reasons why a lot of merchants have resisted it. But Apple did this to protect users' privacy: you should be able to buy something without telling someone your name. If someone doesn't know your name then how can they identity fraud you?
If you want the customer's name, ask them, or have employees check their ID and require that the name be entered into the system. If you can't be asked to bother asking the customer to identify themselves, then, since the customer has not voluntarily given you their name, why do you deserve to have it?
I did below for submitting TAX -
Submitted "NO" on - Are you a U.S. citizen, U.S. resident, U.S. partnership, or U.S. corporation?
Submitted "NO" on - Do you have any U.S. Business Activities?
on Next Page I am unable to change following details:
1.Individual or Organization Name &
2. Country of incorporation & 3. Permanent Residence
please help me on how can I modify these because the information in above colums is not correct. I need to change them, where does apple picks up these informations.
My applications is complete and I am stuck because of just this single step.
Thanks in advance
This isn't as easy as it should be, but if you have already entered tax information and wish to change it, you have to make a request to Apple via email, and they will tell you exactly what forms you'll have to fill out. I recently went through this (in the U.S.) to convert my personal account into a business account, and I'd imagine the process will be similar for you.
The Permanent Residence panel on the tax forms is not editable because it uses information from Dun & Bradstreet. It has the address when you originally requested a DUNS number
I suspect the other two details also come from the D&B record. If all three are wrong you may have the wrong DUNS details linked to your Apple ID.
You need to contact them directly - I just went through this on the phone with Apple Developer support and was advised to directly email appdeveloper#dnb.com