in-app-purchase

Maximum Limit for Items in In App Billing / In-App Purchase

烈酒焚心 提交于 2019-12-18 17:33:34
问题 I would like to know what the maximum number of items that can be placed in In App billing for both Android and iphone. I seem to remember reading around 3000 but I cannot find the reference. Also if 3000 is the maximum what are the legitimate way to get around this. My app will sell content and I thought a possible way around the problem would be to have a central app that shows the content, then a number of different libraries where you can purchase the content. Would that be a viable work

Maximum Limit for Items in In App Billing / In-App Purchase

亡梦爱人 提交于 2019-12-18 17:33:33
问题 I would like to know what the maximum number of items that can be placed in In App billing for both Android and iphone. I seem to remember reading around 3000 but I cannot find the reference. Also if 3000 is the maximum what are the legitimate way to get around this. My app will sell content and I thought a possible way around the problem would be to have a central app that shows the content, then a number of different libraries where you can purchase the content. Would that be a viable work

Verifying windows 8 purchases (receipts) using PHP

北战南征 提交于 2019-12-18 17:00:54
问题 I need to verify in-app purchases made in Windows 8 applications server-side using PHP. MSDN's documentation page has an example only in C#. Right now I've spent a whole day by searching for a way to do it in PHP. No success. All over the internet there are only .NET examples on this topic. I've found some partial information about signed XML and x509, some libraries (xmlseclibs - useless, uses openssl_* functions which do not support sha256; phpseclib - looks promising but their

In App Purchase user cancels tx while app in background: tx state stays on purchasing

瘦欲@ 提交于 2019-12-18 16:54:31
问题 I have some odd behavior with User canceling in App Purchase (Sandbox Environment) while the app is in background and the user is not yet logged in to the store: The process is as follows: User is not logged in/App Id is not set in Settings > Store User clicks buy button. This calls [[SKPaymentQueue defaultQueue] addPayment:payment]; User immediatly preses home button (app goes to background) Storekit popup appears asking to confirm purchase. User cancels App is activated again and would

Unity IAP not initializing

时光毁灭记忆、已成空白 提交于 2019-12-18 16:52:15
问题 I used the Unity "Purchaser script"(In Unity's IAP example) to test IAP's but they do not initialize on the phone during testing even though they do initialize and pass in the editor. I understand the Unity Editor always passes IAPs so that means I did not do a step somewhere on the Apple side. iTunes connect states that IAPs must be submitted with the app update so I do not see how I could individually create the IAP on iTunes Connect for testing. Can someone please help me understand where

Unity IAP not initializing

Deadly 提交于 2019-12-18 16:51:59
问题 I used the Unity "Purchaser script"(In Unity's IAP example) to test IAP's but they do not initialize on the phone during testing even though they do initialize and pass in the editor. I understand the Unity Editor always passes IAPs so that means I did not do a step somewhere on the Apple side. iTunes connect states that IAPs must be submitted with the app update so I do not see how I could individually create the IAP on iTunes Connect for testing. Can someone please help me understand where

I'm getting 21004 as status value in reply from apple's sandbox server testing auto-renewable subscriptions in ios?

被刻印的时光 ゝ 提交于 2019-12-18 15:05:40
问题 I'm testing In app purchase auto-renewable subscription but apple's sandbox server always returns status=21004 #define SHARED_SECRET @"INSERT HERE YOUR ITUNESCONNECT SHARED SECRECT KEY FOR AUTORENEWABLE SUBCRIPTIONS RECEIPT VALIDATION" -(void)checkReceipt { // verifies receipt with Apple NSError *jsonError = nil; NSString *receiptBase64 = [NSString base64StringFromData:receiptData length:[receiptData length]]; NSLog(@"Receipt Base64: %@",receiptBase64); NSData *jsonData = [NSJSONSerialization

Android In-App Purchase check buyer offline

为君一笑 提交于 2019-12-18 13:35:42
问题 I have implement in app purchase (managed) in my application using billing services when ever user wants to buy item he will make purchase request that required internet even if user has already bought the item. so for user convenience i am doing that if user has bought the item then a value will be save in shared pref. and when ever user click on that particular item then 1st it will check shared pref. value that either user has bought item or not if not then go for purchase request else

Base64 encoding weirdness for iOS7 in-app purchase receipt server verification

和自甴很熟 提交于 2019-12-18 12:38:34
问题 I've found some very odd issues with base64 encoding of iOS7 receipts. At the moment (Xcode5/iOS7) have 2 methods for getting a receipt for an in-app purchase: Deprecated method that returns a single receipt. [SKPaymentTransaction transactionReceipt] A bundle of all receipts from location appStoreReceiptURL My App sells web site based services using a credit system which makes server receipt validation necessary. The App also sells downloadable extensions. So a mixture of consumables and non

In-App Billing v3, bindService() Intent can't be found

匆匆过客 提交于 2019-12-18 12:37:14
问题 I am using in-app billing from Google for Android for the first time. However, if a user doesn't have an internet connection or no google framework installed (e.g. with custom roms) and probably other occasions (like wrong/old market version etc.) This method (inside the provided IabHelper class): mContext.bindService(new Intent("com.android.vending.billing.InAppBillingService.BIND"), mServiceConn, Context.BIND_AUTO_CREATE); Doesn't work and no service get's established. With a small