in-app

In-App Billing After Purchase

有些话、适合烂在心里 提交于 2019-12-11 18:52:23
问题 I was wondering how I would be able to have my app remove the buttons for buying an item that a user has purchased in in-app billing. I could use sharedpreferences, but how would I go about doing that. This is the tutorial I used: http://www.anddev.org/advanced-tutorials-f21/simple-inapp-billing-payment-t52060.html. Thanks public Handler mTransactionHandler = new Handler(){ public void handleMessage(android.os.Message msg) { Log.i(TAG, "Transaction complete"); Log.i(TAG, "Transaction status:

IAP Receipt Validation for Consumable Products

♀尐吖头ヾ 提交于 2019-12-10 23:26:45
问题 I have implemented the IAP for Consumable Products in my app. I have couple of queries regarding validating the receipt. I am going to use my own server which will communicate with apple server. 1.) Does the below url will contain the most recent receipt or all the receipts (even the old ones)? NSBundle.mainBundle().appStoreReceiptURL 2.) If the above url stores all the receipts then do i need to verify all the receipts whenever user purchase a new product? 3.) Does the user will have access

android in app billing v3 with php

▼魔方 西西 提交于 2019-12-10 14:48:51
问题 i'm trying android in app billing v3 verifying on my remote php server. but, it seems something is wrong at my codes. i think this openssl_verify function is problem. result is always failed! i can't find what first parameter to verify with openssl_verify. actually, i 'm confuse what's reasonable format to place at first parameter :( could you help me to solve it? $result = openssl_verify($data["purchaseToken"], base64_decode($signature), $key); // original // failed belows full test codes. <

In-app update with TestFlight on iOS

别说谁变了你拦得住时间么 提交于 2019-12-10 04:35:35
问题 My iPhone app has now entered into a beta phase. I am using TestFlight to send the app to the testers. Everything works great, I publish the link, they download the app, no problem with any certificate or anything (true story, lol). My only problem is I have absolutely no idea on how to send in-app updates. I saw on the latest SDK version that it's available, but I can't figure out how to do it ! Right now, if I upload a new build, and select "update & notify", an email is sent. How can I

Android : inApp purchase receipt validation (Part 2)

◇◆丶佛笑我妖孽 提交于 2019-12-10 00:07:15
问题 I am implement inApp purchase in my application and add product as " Manage Product ". After purchase I want to do receipt validation .For that I configure in Developer console like The Steps are Developer Console -> Settings -> API access Create Server account Google Developer console -> Add a credential in Service account and put it as JSON After adding I got a file from developer console it contains { "type": "service_account", "project_id": "api-xxxxx-xxx", "private_key_id":

iOS - Downloading from Apple server after inapp purchase

十年热恋 提交于 2019-12-09 03:34:44
问题 In iOS6, we have new feature to place the content on Apple Server so that after successful purchase, the content can be downloaded and use it appropriately. I'm able to make the purchase successfully and when downloading the content, it stops at 75%. I tried with different purchases and different content placed on apple server. but it stops at 75%... dont know why. I'm using the following delegate method to track the download progress: -(void)paymentQueue:(SKPaymentQueue *)queue

Open facebook login screen in personal App and not in device browser

╄→гoц情女王★ 提交于 2019-12-05 21:46:57
When Facebook app are installed on device and i am not log in. My own app opens facebook app when click on facebook login button.and if i am login on facebook app, my own app takes login details from facebook app and let me use login info. When i don't have facebook app installed on device, first time when i click on facebook login button in my own app it open facebook login page on default device browser and save my login credentials for next time. when next time i try to login it directly fetch login info. issue is when i open facebook website on default device browser (say chrome)explicitly

In-app update with TestFlight on iOS

我们两清 提交于 2019-12-05 06:43:37
My iPhone app has now entered into a beta phase. I am using TestFlight to send the app to the testers. Everything works great, I publish the link, they download the app, no problem with any certificate or anything (true story, lol). My only problem is I have absolutely no idea on how to send in-app updates. I saw on the latest SDK version that it's available, but I can't figure out how to do it ! Right now, if I upload a new build, and select "update & notify", an email is sent. How can I send a notification to the users, directly through my app, that a new version is available ? Right now I'm

Android : inApp purchase receipt validation (Part 2)

让人想犯罪 __ 提交于 2019-12-04 22:58:27
I am implement inApp purchase in my application and add product as " Manage Product ". After purchase I want to do receipt validation .For that I configure in Developer console like The Steps are Developer Console -> Settings -> API access Create Server account Google Developer console -> Add a credential in Service account and put it as JSON After adding I got a file from developer console it contains { "type": "service_account", "project_id": "api-xxxxx-xxx", "private_key_id": "xxxxxxxxxxxxxxxxxxxxxx", "private_key": "-----BEGIN PRIVATE KEY-----\ixxxxxxxxxxxxxxxx=\n-----END PRIVATE KEY-----

Android In-app purchase: While purchasing got network failed popup but purchase has been completed got an email

末鹿安然 提交于 2019-12-04 21:42:49
I am getting a weird issue from the in-app purchase IInAppBillingService version 3 since 1 week ago. Below are the steps what I had followed: Note: I followed these steps because few of my users got same network issue but purchase has been completed. But app still showing Buy button for that product. So to replicate the issue I had to follow these steps. Installed the debuggable signed APK over the play store version. Clicked on item to buy Opened the play store popup with Buy button. Clicked on Buy in the purchased popup I lost the network while purchasing a product. Got a popup with No