subscription

Android subscription and Google API

天涯浪子 提交于 2019-12-22 05:07:37
问题 I'm trying to use the new Android subscription system from Google Play into my application (I already had in-app billing working fine). I have successfully done the subscription billing, but I now want to retrieve informations about this subscription by using the google apis as indicated in the android documentation (http://developer.android.com/guide/market/billing/billing_subscriptions.html). I want my service to be able to do the API call to retrieve these informations, but I have problems

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":

CloudKit fetch all subscriptions from the current user

﹥>﹥吖頭↗ 提交于 2019-12-21 18:13:56
问题 I manage to save, change and delete records in Apples CloudKit. I even got notifications working with subscriptions, what I can not find out is, how do i list all subscriptions for the current user. Here is my code so far: let operation = CKFetchSubscriptionsOperation() operation.fetchSubscriptionCompletionBlock = { (d, e) -> Void in println("got subscription") if e != nil { println("Error") dump(e) } dump(d) } publicDatabase.addOperation(operation) What I got is: got subscription Error -

Subscription sample missing JSON parsing of purchaseToken

喜夏-厌秋 提交于 2019-12-21 17:54:26
问题 I have been recently studying code for In-App-Billing v2. And have found some issues with it. I have earlier implemented In-App-Billing but wish to upgrade to subscription. On my research I found that Purchase token is recieved along with the JSON(Signed data) on successful purchase for subscription. The demo's Security.java on successful verification of signature parses Json however the parsing of element Purchase-token is missing here. JSONObject jElement = jTransactionsArray.getJSONObject

Automatic Subscription In-App Purchases: Restoring Subsequent Renewals

坚强是说给别人听的谎言 提交于 2019-12-21 16:54:09
问题 According to the Apple In App Purchase Programming Guide: The App Store creates a separate transaction each time it renews a subscription. When your application restores previous purchases, Store Kit delivers each transaction to your application. Let's imagine my app subscription is client-side-only (no server component). The simplest way to verify that subsequent renewals have been billed seems to be restoring previous purchases every month. However , this pops up the user's iTunes password

RSS: refresh rate?

混江龙づ霸主 提交于 2019-12-21 10:54:40
问题 I'm writing a little application for my own use which will consume a publicly published RSS feed. As far as I can tell, there's no subscribe/post mechanism in the protocol; I need to have my application HTTP-GET the RSS feed periodically. If that's the case, I'd like to grab it every ten minutes or so, but I'm worried about being seen as an abuser. I'd certainly be concerned if I saw someone poking my server every ten minutes for weeks on end. Is this a valid concern? Is there any general

Email address validation methods (Subscribe button)

和自甴很熟 提交于 2019-12-21 04:52:26
问题 I am coding a site in php and I am currently on the contact us page and I was wondering what was the best way to validate an email address? By sending a validation link to their email? Regex Any other method? Also could you tell me why and a guide along my way to achieving it? I dont want someone to do the code for me because thats no fun for me and I won't learn but just some guidance on the techniques used to achieve either the methods above. Also I am going to use these methods to

How to get expiry date for Subscription with client side in Android?

别说谁变了你拦得住时间么 提交于 2019-12-21 02:01:11
问题 We are implementing the subscription using in-app purchase in android, We are getting the purchase timestamp like the below format '{ "orderId":"GPA.1234-5678-9012-34567", "packageName":"com.example.app", "productId":"exampleSku", "purchaseTime":1345678900000, "purchaseState":0, "developerPayload":"bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ", "purchaseToken":"opaque-token-up-to-1000-characters" }' But We need to display the expiry date in application UI and we wanna get the exact expiry date

How to get expiry date for Subscription with client side in Android?

微笑、不失礼 提交于 2019-12-21 02:01:05
问题 We are implementing the subscription using in-app purchase in android, We are getting the purchase timestamp like the below format '{ "orderId":"GPA.1234-5678-9012-34567", "packageName":"com.example.app", "productId":"exampleSku", "purchaseTime":1345678900000, "purchaseState":0, "developerPayload":"bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ", "purchaseToken":"opaque-token-up-to-1000-characters" }' But We need to display the expiry date in application UI and we wanna get the exact expiry date

SSRS Report Subscription Parameters (Date Values)

馋奶兔 提交于 2019-12-20 20:40:50
问题 I am looking to setup a report subscription in SSRS 2008 R2 where the client user can set the date parameter to whatever the individual user would like. I have been reading multiple suggestions to use =Today() in the parameters but this syntax does not work for me. Does anyone know whether is is possible to set my from date to "Today -30 days" and my to date to "today"? What is the syntax used in the subscription parameters? Settings: Error: 回答1: As described in the above link provided by