in-app-purchase

Permission issue Google Play

 ̄綄美尐妖づ 提交于 2019-12-18 12:13:10
问题 I'm having trouble with androidpublisher.inapppurchases.get My project is just according to https://code.google.com/p/google-api-java-client/wiki/OAuth2#Service_Accounts and it worked fine until I migrated to new Google Play Account. So now when I execute request Server-to-Server I am receiving this response. { "code" : 401, "errors" : [ { "domain" : "androidpublisher", "message" : "The current user has insufficient permissions to perform the requested operation.", "reason" :

Android In-App Billing v3: Not receiving signatures

与世无争的帅哥 提交于 2019-12-18 11:53:14
问题 I'm working on a In App Store on my app, I used AndroidBillingLibrary by robotmedia, when I purchase android.test.purchased using the library the response is OK, all the data I need is in there. The problem is, when I switched to Android In-App Billing v3 this is all received from the response, no signatures. {"packageName":"com.my.sampleapp","orderId":"transactionId.android.test.purchased","productId":"android.test.purchased","developerPayload":"","purchaseTime":0,"purchaseState":0,

Android In-App Billing v3: Not receiving signatures

倾然丶 夕夏残阳落幕 提交于 2019-12-18 11:51:36
问题 I'm working on a In App Store on my app, I used AndroidBillingLibrary by robotmedia, when I purchase android.test.purchased using the library the response is OK, all the data I need is in there. The problem is, when I switched to Android In-App Billing v3 this is all received from the response, no signatures. {"packageName":"com.my.sampleapp","orderId":"transactionId.android.test.purchased","productId":"android.test.purchased","developerPayload":"","purchaseTime":0,"purchaseState":0,

transactionReceipt for in-app purchase is deprecated in iOS 7. What can I replace it with?

▼魔方 西西 提交于 2019-12-18 11:05:16
问题 In iOS 7, on the SKPaymentTransaction class, the property transactionReceipt : // Only valid if state is SKPaymentTransactionStatePurchased. @property(nonatomic, readonly) NSData *transactionReceipt …is deprecated. But, in my code, I created a InAppPurchase class, and in my method for controlling how is the method buying, I'm using the delegate method in my code and it's like: - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction

In App Purchase Crashes on [[SKPaymentQueue defaultQueue] addPayment:payment]

喜你入骨 提交于 2019-12-18 11:00:31
问题 My In-App-Purchases work. I present a ModalView with a "Buy" UIButton. You click the button and the In App Purchase goes through the process. You can even do it several times in a row. The problem occurs if you open the Modal View, then close the Modal View (using a UITabBarButtonItem), then reopen the Modal View and tap the "Buy" button. The app crashes and I get an NSZombie that reads *** -[InAppPurchaseManager respondsToSelector:]: message sent to deallocated instance 0x1c7ad0 The NSZombie

Can I use PayPal in iPhone/iPad apps?

寵の児 提交于 2019-12-18 10:57:21
问题 I am working on an application that through which I want to sell some event Tickets. Can I use PayPal for this purpose, and will Apple approve the app using other that StoreKit Framework. I searched on this topic, but I am not able to find any possible solution. Some searches say that paypal can be used and the other say that Apple never approves an app using payment gateway other than inAppPurchase. Please help me! 回答1: Yes, you can use PayPal payment gateway with your application. You can

Android In-App Billing: Purchase state stays “purchased” after order cancelation

﹥>﹥吖頭↗ 提交于 2019-12-18 10:27:46
问题 I'm currently testing my InApp billing mechanism (using the InApp Billing version 3 API, therefore taking the TrivialDrive example as reference). I have one managed item, which is upgrade to premium version. Now, purchasing the item with my test account works, but when I do a cancellation of the entire order in Google checkout afterwards, my code still tells me that the item is purchased an therefore grants the premium features. Here is how I check for the purchase in my MainActivity. I do

Play Store updates/installs app using a different account than the one the user made IAP through

拈花ヽ惹草 提交于 2019-12-18 10:14:17
问题 On this bug report on github https://github.com/googlesamples/android-play-billing/issues/2#issuecomment-305380836 we were asked to raise the issue here. The issue is simple. User has 2 or more accounts on their phone, let's say xyz@gmail.com and abc@gmail.com. They install an app with account xyz@gmail.com. They purchase some IAP item. The app updates and now the app is under abc@gmail.com and the user has lost the purchase. This happens a lot when using staged rollouts. Main issue, as

Any (early) experiences with auto-renewable subscriptions for iOS

為{幸葍}努か 提交于 2019-12-18 09:56:46
问题 Apple finally introduced the so called auto-renewable subscriptions yesterday. Since I only have few (sandbox-only) experiences with in-app-purchase, I'm not sure that I got it all right here. It seems one needs a server side verification of the receipts. It seems the only way to find out if the subscription is still valid, is to store the original transaction data on server side. Apples programming guide with respect to this topic is all cryptic to me. My expectation was, that I can work

Restore Purchase : Non-Consumable

馋奶兔 提交于 2019-12-18 09:45:21
问题 I have completed a small app where I have a non-consumable purchase option. It is on the App Store. The purchase of the product runs OK. It's my Restore Purchase function that seems to do nothing. I have added this code for the Restore Purchase @IBAction : @IBAction func restorePurchases(sender: AnyObject) { SKPaymentQueue.defaultQueue().addTransactionObserver(self) SKPaymentQueue.defaultQueue().restoreCompletedTransactions() } But nothing happens when I hit the restore purchase button. I