Questions tagged [subscription]

An arrangement to receive something, typically a publication, regularly.

An arrangement to receive something, typically a publication, regularly.

2251 questions
24
votes
1 answer

Can I validate Google Play in-app subscription renewals completely server-side?

When a user first purchases a subscription from the Google Play Store, my app sends my server a receipt which contains the package name, the subscription/product ID, and the purchase token. I can then call the Purchases.subscriptions.get API to…
Joe Shaw
  • 22,066
  • 16
  • 70
  • 92
22
votes
6 answers

Change Credit Card Information (Stripe)

I finally figured out how to implement Stripes Monthly Billing using this tutorial. http://railscasts.com/episodes/288-billing-with-stripe So far, A User can Create & Delete their Subscription with Stripe. But how can a User change his Credit Card…
Serge Pedroza
  • 2,160
  • 3
  • 28
  • 41
21
votes
1 answer

HOWTO create GoogleCredential by using Service Account JSON

I am using the Java SDK for Android Publisher v2 and Oauth2 v2. Once I created the service account I was provided with a JSON of Google Play Android Developer service account with client id, email, private key etc. I have tried to look around and…
20
votes
2 answers

RxJS - subscribe only once but do not complete Observable

imagine situation when you have some Observable that contains data that changes in real time, example below... interface User { name: string; projectId: string; dataThatChangesALotInRealTime: Object; } userData: Observable This…
Raold
  • 1,383
  • 4
  • 20
  • 33
20
votes
4 answers

Google Android publisher API responds with "410 purchaseTokenNoLongerValid" error

On getting a subscription status (https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get) API responds with { "error": { "errors": [ { "domain": "androidpublisher", "reason":…
ksimka
  • 1,394
  • 9
  • 21
20
votes
2 answers

Redis Cluster vs ZeroMQ in Pub/Sub, for horizontally scaled distributed systems

If I were to design a huge distributed system whose throughput should scale linearly with the number of subscribers and number of channels in the system, which would be better ? 1) Redis Cluster (only for Redis 3.0 alpha, if its in cluster mode, you…
João Pinto Jerónimo
  • 9,586
  • 15
  • 62
  • 86
18
votes
1 answer

Changing the Amount of a PayPal Subscription

We are using PayPal subscriptions to automatically make ongoing monthly donations. The user initially creates a subscription with some pre-determined monthly donation amount (e.g., say $50/month). This creates a recurring subscription which we…
cambo
  • 973
  • 4
  • 11
  • 22
18
votes
4 answers

Auto-renewable subscription receipt date format

I'm struggling to figure out the formatting for the following date: 2011-05-24 19:02:32 Etc/GMT This date is returned from Apple's receipt validation service and I need to turn it into a NSDate for some comparison operations. The real trouble is…
Hyperbole
  • 3,917
  • 4
  • 35
  • 54
18
votes
5 answers

What do I do about recurring billing?

This might be a subjective question, but I'll give it a go. There are already a number of questions on SO that revolves around subscription billing management. I am currently working on a SaaS solution that will require a fully automated billing…
phidah
  • 5,794
  • 6
  • 37
  • 58
17
votes
7 answers

ClickOnce Error: The deployment identity does not match the subscription

I'm using Visual Studio 2008 SP1. I have a Windows Forms application deployed internally using ClickOnce in a shared folder on the local network. The test certificate pfx expires in 2035. I have published the update to the internal shared folder…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
17
votes
2 answers

when an event has multiple subscribers, how do I get the return value for each subscriber?

The code looks like below: Clock: public class Clock { public event Func SecondChange; public void Run() { for (var i = 0; i < 20; i++) { Thread.Sleep(1000); if (SecondChange !=…
Jeff
  • 13,079
  • 23
  • 71
  • 102
16
votes
6 answers

in-app purchase for auto-renewal subscriptions notifications

I've been reading the various threads on in-app purchases auto-renewal subscriptions, and I think I've pieced together most of the information I need, but there are a few missing pieces. I'm hoping someone can help me. The situation: I have various…
Jason
  • 1,787
  • 4
  • 29
  • 46
16
votes
1 answer

What's the logic behind auto-renewing subscription in iOS

I'm working with a client to build a newsstand app that uses auto-renewing subscriptions. I can't seem to figure out the correct logic for this. I understand in-app purchases but have never messed with a subscription before. I can't seem to wrap my…
Brodie
  • 3,526
  • 8
  • 42
  • 61
15
votes
2 answers

Android In-App Billing Subscription status change callbacks

I'm writing an app that will support in-app subscriptions. The subscriptions will enable my users to use a number of services and benefits outside the Android world. I know that I can use Google Play Developer API to query the status of a…
15
votes
1 answer

iOS auto-renewable subscriptions: receipt validation flows

I'm implementing an auto-renewable subscription scenario, where the receipt validation will be handled by my server-side code. Following Apple's documentation, I'll be obtaining the receipt data from NSBundle, and pass that data to my server, which…
Rui
  • 5,900
  • 10
  • 38
  • 56