Server-side verification of Google Play In-app billing version 3 purchase

where do I get the signature from ? Have a look at official docs, It says that inside your onActivityResult() method you can get following data as shown in example, @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == 1001) { int responseCode = data.getIntExtra(“RESPONSE_CODE”, 0); String purchaseData = data.getStringExtra(“INAPP_PURCHASE_DATA”); String …

Read more

Restore already bought in-app-purchases on iPhone?

If the $0.99 item is non-consumable, then you should provide a “Restore Purchases” button (or similar) which calls [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; Assuming you’ve added a transaction observer already, and implemented the protocol including a case to handle a restored transaction (with state SKPaymentTransactionStateRestored) this will work.

How to access the price of a product in SKPayment?

There’s a problem with just using NSLocaleCurrencySymbol + price.stringValue: it doesn’t handle the peculiarities of different locales, eg. whether they put the currency symbol in front or not. Norway, Denmark, Sweden and Switzerland all put their currency after, eg. 17.00Kr. Also, most(?) European countries use ‘,’ instead of ‘.’ for decimals, eg. “2,99 €” rather …

Read more

Android In-App Billing failure, saying “You already have a pending order for this item.”

While there are issues with in-app billing like the links presented here (i was active commenter on issue 39), there are some worthwhile things to check on as well that can cause a 500 response from google. Namely, “restore transactions” and abusing that call. Abuse of that call is done on a per user basis …

Read more

What size screenshots should be used for IAPs ( In app purchases ) for Mac apps?

I would like to add to the accepted answer because regurgitating the documentation does little to resolve actual problems. After taking a screen shot of the app on my device for in app purchase review and it still didn’t work, I did some investigating. After you attempt to upload a screen shot and see the …

Read more