in-app-purchase

In app billing item not found error?

强颜欢笑 提交于 2019-12-22 10:35:06
问题 I have been trying to implement in app billing of google play to my app. I am trying to implementing the sample application and test it. I have followed all the procedures which is in http://developer.android.com/guide/google/play/billing/billing_integrate.html but still i am not able to purchase any product or the subscription from the market.And my response look like below 09-17 19:38:31.902: E/Volley(4314): [444] BasicNetwork.performRequest: Unexpected response code 500 for https://android

iOS - How to delay of showing message “purchase was successful” to wait until the validation receipt finished

。_饼干妹妹 提交于 2019-12-22 10:07:50
问题 i've searched and can't find any way to create a delay of showing message: "Your purchase was successful" to wait until the validation receipt finished. I've tried to quote the line SKPaymentQueue.defaultQueue().finishTransaction(transaction as! SKPaymentTransaction) but the message still fires. func paymentQueue(queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { print("Received Payment Transaction Response from Apple"); for transaction:AnyObject in

How to store subscription data for Android in-app billing?

别来无恙 提交于 2019-12-22 09:55:51
问题 I'm trying to implement in-app billing, where the only thing my app sells is a monthly subscription. I've gone pretty much copied the Dungeons example that Android provides and it works, but it seems overly complicated for the one thing I have to sell (and I know I shouldn't be copying it anyway). The Dungeons example has a PurchaseDatabase class that keeps track of all of the user's purchases. Since there is only one purchase in my app, rather than having a database, it seems like it would

XCode 6 verificationController.m issues

爱⌒轻易说出口 提交于 2019-12-22 08:51:06
问题 I am using VerificationController.m provided by Raywenderlich for validating receipts for in ap purchase. It is working fine for XCode5 but in XCode6 it is giving number of errors. probably due to C++ code like: Missing Code for Method declaration @end must appear in objective-c context Conflicting types for 'checkReiptSecurity' can anyone tell me what is needed to be done ? Edit : Here are errors screenshot 回答1: Have you fixed this? I was running in to the exact same problem so I'll leave my

iOS Non-consumable IAP with custom user accounts management - multiple purchases

左心房为你撑大大i 提交于 2019-12-22 07:23:22
问题 I want to have content enabled for user after he purchase it and it should be available for that user all the time. Right way to do this is with Non-consumable IAPs. I have users (login, registration) and I want to connect it with IAPs (via my server). I can use original_transaction_id and it's okay for purchase/restore IAPs and have it on other devices with same account. Now what's the problem. If user logouts and another user logged in which doesn't buy IAP then he can't purchase it again

SKPaymentTransactionObserver `In-app purchases can’t be promoted on the App Store` on iTunes connect but delegate implemented and tested

感情迁移 提交于 2019-12-22 07:05:04
问题 We keep getting this warning message in Itunes connect after implementation and test of the delegate method: These in-app purchases can’t be promoted on the App Store because your latest app binary doesn’t include the SKPaymentTransactionObserver method. We implemented the delegate method for the new App Store purchase from iOS 11 in a dedicated object that manages our payments and other SKPaymentTRansactionObserver. func paymentQueue(_ queue: SKPaymentQueue, shouldAddStorePayment payment:

iPhone + In App purchase + change alert message

拟墨画扇 提交于 2019-12-22 06:48:24
问题 I have implemented In App Purchase in one of the existing application, it's working fine. But the problem is that whenever I tap on any of the locked feature (where I have implemented In App code), it show me the alert message with title like "Confirm your In App Purchase" and message saying "Do you want to buy one xxx Features for $xxx ?" and "Cancel" / "Buy" UIButtons. I am not setting any of these messages in code, so I don't know where is this text coming from and how to change this

Verify consumable in-app purchase for Mac OS X on server side

强颜欢笑 提交于 2019-12-22 05:31:23
问题 NOTE: This is for Mac OS X not iOS I have a client app which will allow consumable in-app purchases. The receipts should be sent to the server where the server performs some operation when it gets an order. The operation the server performs costs me a bit of money so I need to be extra careful that the receipts are valid and only used once. I'm looking for the best way to design this. It looks like I get the receipt from the storekit when the user completes the purchase. When I send that to

Verify consumable in-app purchase for Mac OS X on server side

那年仲夏 提交于 2019-12-22 05:31:09
问题 NOTE: This is for Mac OS X not iOS I have a client app which will allow consumable in-app purchases. The receipts should be sent to the server where the server performs some operation when it gets an order. The operation the server performs costs me a bit of money so I need to be extra careful that the receipts are valid and only used once. I'm looking for the best way to design this. It looks like I get the receipt from the storekit when the user completes the purchase. When I send that to

Issue with Android IAP, no OrderID in Purchase Object

a 夏天 提交于 2019-12-22 05:07:01
问题 Im testing Android In app purchase subscription with one of my accounts with TEST License access (I'm aware Test access won't support Subscriptions). Noticed that there is no orderId in purchase response JSON but payment goes through(no charges though since there's a trail for 7 days on this subscription). response json looks like: "packageName": "com.xxx.xxxx", "productId": "yyyyyyyyyy_sdsda", "purchaseTime": 1426055867418, "purchaseState": 0, "purchaseToken": "xxxxxxxxxxxx", "autoRenewing":