ios - Retrieve payer's country and payout info Apple In-App purchases API -


i didn't found field in app receipt/in-app purchase receipt fields find country of user has made in-app purchase.

i used url: https://developer.apple.com/library/content/releasenotes/general/validateappstorereceipt/chapters/receiptfields.html#//apple_ref/doc/uid/tp40010573-ch106-sw1 there nothing helps me figure out country paying user. cannot use ip because can differ when on holiday.

my question is: there way in apple api in-app purchases find payer's country , ideally payout of amount has paid?

for info: used storekit api , rest api apple can found on sandbox.itunes.apple.com/verifyreceipt , buy.itunes.apple.com/verifyreceipt

iap receipt doesn't contain country or payment info, way implemented, add user info along receipt while sending same backend script verification, , using user info, credit respective user given product id. guess need ask country info when user signs in app or may use facebook login. product cost can checked using product id in database.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -