ios - Inapppurchase Receipt -


i developing application non renewable subscriptions, working fine ios6, changed deployment target 7. transactionreceipt deprecated in ios6, move nsurl *receipturl = [[nsbundle mainbundle] appstorereceipturl];

nsdata *receipt = [nsdata datawithcontentsofurl:receipturl]; 

but returns nil receipt. encode data nil. please me resolve issue.

thanks advance.

you should appstore receipt, when notification purchased transaction received, check skpaymenttransactionobserver.

- (void)paymentqueue:(skpaymentqueue *)queue updatedtransactions:(nsarray<skpaymenttransaction *> *)transactions 

non-renewable subscriptions aren't persistent in receipt , removed after transaction finished.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -