I am implementing apple pay for Canada, to know the location of user i should have his/her postal code to estimate shipping price. I input
H4A2R4
as my postal code as shipping address for ApplePay. when I am trying to get info from PKContact it just return me
H4A
. how can i have it completely ? my sample code :
- (NSString *)postCodeForContact:(PKContact *)contact {
return contact.postalAdress.postalCode;
}
I also tried ABPersonRef and i got same result.