in-app

Amazon In-app purchase

点点圈 提交于 2019-11-30 17:07:22
has anybody tried implementing amazon's in-app purchase? I'm having problem implementing the example on their site. below example, it's giving me INVALID_SKU response: when purchase is initiated, PurchasingManager.initiateItemDataRequest("DeveloperSKU-1234"); the response of above will be recieved by below code: public void onPurchaseResponse(final PurchaseResponse purchaseResponse) { Log.v(TAG, "onPurchaseResponse recieved"); Log.v(TAG, "PurchaseRequestStatus:" + purchaseResponse.getPurchaseRequestStatus()); } unfortunately, i always got "PurchaseRequestStatus:INVALID_SKU". any of you knows

Amazon In-app purchase

拜拜、爱过 提交于 2019-11-30 00:04:30
问题 has anybody tried implementing amazon's in-app purchase? I'm having problem implementing the example on their site. below example, it's giving me INVALID_SKU response: when purchase is initiated, PurchasingManager.initiateItemDataRequest("DeveloperSKU-1234"); the response of above will be recieved by below code: public void onPurchaseResponse(final PurchaseResponse purchaseResponse) { Log.v(TAG, "onPurchaseResponse recieved"); Log.v(TAG, "PurchaseRequestStatus:" + purchaseResponse

android in-app billing sandbox

此生再无相见时 提交于 2019-11-29 19:49:31
问题 I'm developing a simple in-app billing library. It works with static responses from google, but now I'd like to test this lib with real in-app products. I have created a test account and I'm trying to buy a product, but google Play is asking me for a credit card. Is there any way to test in-app billing without using a real credit card (a sandbox environment, fake credit card, etc)? I have read here that the only way to test this is using a real credit card with a test account (so you don't

how to cancel an in-app test purchase on android?

孤街浪徒 提交于 2019-11-29 02:10:42
问题 Until june 20th 2016 i was able to cancel test purchases done in my app. Doing multiple in-app purchases (not consumable) from the same test account made it easy to develop and test the code without too much hazzle. After 20th june 2016, the purchases did not show in my merchant account and i was unable to do more than 1 purchase from my test account. All i got was the: "you already own this item" message. I logged a request to the google developer support group and the answer was: Beginning

Get android subscription status, failed with 403

时光总嘲笑我的痴心妄想 提交于 2019-11-27 13:45:08
While trying to get android in-app subscription status (with expiry date), I get the following error message: { "error": { "errors": [ { "domain": "androidpublisher", "reason": "projectNotLinked", "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console." } ], "code": 403, "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console." } } The URL is: https://www.googleapis.com/androidpublisher/v2/applications/[packageName]/inapp/[productId]/purchases/[purchase

iOS - Integrating credit card payments

我怕爱的太早我们不能终老 提交于 2019-11-27 11:22:27
I'm aware that we can integrate in-app purchases with storekit. but i want to integrate payments using credit card. will apple allow to integrate such libraries? Are there any such libraries available where users can use their credit card for payment of products with in my app? David Brainer Depending on what users are purchasing*, you should be just fine accepting payments in your app. Instead of trying to incorporate some type of payment library into the app I would recommend using a payment API that offloads the work. Take a look at http://stripe.com/ for an example of an excellent payment

How to detect Facebook in-app browser?

别来无恙 提交于 2019-11-27 03:39:37
Have you had any experience in Facebook in-app browser detection? What's the core difference in user agent? I don't want to know if it is a only mobile/ios/chrome. I need to know whether user agent is specific from Facebook in-app browser worker11811 You can check for FBAN / FBAV in the user agent. Check this link: Facebook user agent Sample code as @sascha suggested function isFacebookApp() { var ua = navigator.userAgent || navigator.vendor || window.opera; return (ua.indexOf("FBAN") > -1) || (ua.indexOf("FBAV") > -1); } To complete worker11811's answer on using the user agent, here's a code

How to detect Facebook in-app browser?

半世苍凉 提交于 2019-11-26 10:35:39
问题 Have you had any experience in Facebook in-app browser detection? What\'s the core difference in user agent? I don\'t want to know if it is a only mobile/ios/chrome. I need to know whether user agent is specific from Facebook in-app browser 回答1: You can check for FBAN / FBAV in the user agent. Check this link: Facebook user agent Sample code as @sascha suggested function isFacebookApp() { var ua = navigator.userAgent || navigator.vendor || window.opera; return (ua.indexOf("FBAN") > -1) || (ua