Questions tagged [subscription]

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

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

2251 questions
1020
votes
29 answers

Angular/RxJS When should I unsubscribe from `Subscription`

When should I store the Subscription instances and invoke unsubscribe() during the ngOnDestroy life cycle and when can I simply ignore them? Saving all subscriptions introduces a lot of mess into component code. HTTP Client Guide ignore…
72
votes
5 answers

Use in_app or latest_receipt_info for getting latest receipt for auto-renewable iOS 7 style transactions?

I am trying to verifying that an auto-renewable In App purchase has not expired server side (not on a device). I am using Apple's Grand Unified Receipt (iOS 7 style transactions). The response returned by Apple contains in_app and…
Chris
  • 1,244
  • 1
  • 12
  • 15
70
votes
4 answers

Why I didn't see Auto-Renewable Subscription in iTunes Connect

Why I didn't see Auto-Renewable Subscription in iTunes Connect -> In-App Purchases -> Select the In-App Purchase you want to create. I see only Consumable, Non-Consumable, Non-Renewing Subscription
Anton Petrusha
  • 1,881
  • 2
  • 11
  • 9
52
votes
8 answers

How to ensure an event is only subscribed to once

I would like to ensure that I only subscribe once in a particular class for an event on an instance. For example I would like to be able to do the following: if (*not already subscribed*) { member.Event += new…
Glen T
  • 1,550
  • 1
  • 13
  • 22
48
votes
5 answers

iOS recurring subscription policy for service, not content

Apologies in advance for a policy, rather than a programming question, but given the paucity of information available online I hope I can be forgiven for asking it here. I would like to use the new recurring subscriptions from Apple in an iOS app. I…
Roger
  • 15,793
  • 4
  • 51
  • 73
46
votes
3 answers

Azure powershell Select-AzureSubscription - error: the subscription name doesn't exist

I've just installed the latest powershell 1.1 and am following this blog entry to add reverse DNS to an existing Linux VM that I am running https://azure.microsoft.com/en-us/blog/announcing-reverse-dns-for-azure-cloud-services/ I was able to log in…
jon_s_lim
  • 503
  • 1
  • 4
  • 5
44
votes
2 answers

How to remove Subscription from product list in developer console and what will be its effect on the old subscribed users?

I want to remove the existing subscription product from product list. How would I be able to perform so as I didn't found any option on my developer console to delete the subscriptions ? Also if in any way possible it is allowed, then will it have…
Napolean
  • 5,303
  • 2
  • 29
  • 35
39
votes
3 answers

How to cancel Auto-renewable subscription by using test user in sandbox environment?

I use Auto-Renewable Subscription in my application. When I test it I want to cancel Auto-Renewable Subscription in Sandbox environment, but I find out Auto-Renewable could not be canceled by a test user. How to cancel Auto-Renewable Subscription in…
white0702
  • 391
  • 1
  • 3
  • 4
37
votes
5 answers

How to check In App Purchase Auto Renewable Subscription is valid

I'm looking to implement the new Auto Renewable subscriptions using In App purchase but I am unsure how or when to check if the user is currently subscribed. My understanding is that when the user initially subscribes the app can use the purchase…
Adam Swinden
  • 1,917
  • 2
  • 18
  • 24
37
votes
7 answers

Am I getting the steps right for verifying a user's Android in-app subscription?

I am making an app that does not require a user account/login, and allows the user to purchase a subscription. I want to use the Google Play Developer API to verify whether or not a user has a purchased/active subscription. From all of the…
Kalina
  • 5,504
  • 16
  • 64
  • 101
30
votes
9 answers

How to unit test unsubscribe function in angular

I would like to find a way to test unsubscribe function calls on Subscriptions and Subjects. I came up with a few possible solutions, but every one of these have pros and cons. Please keep in mind that I do not want to alter the access modifier of a…
gr4viton
  • 1,434
  • 1
  • 8
  • 21
30
votes
2 answers

Unbelievably high rate of "customer's card was declined" on subscription API

We have an android app that is billed as a monthly recurrent subscription with a 7 days trial. The problem that I am seeing is that at the end of the trial, when the order is processed for billing, more than HALF of the attempts end up in failure…
user2653825
  • 301
  • 1
  • 3
  • 4
29
votes
7 answers

How do I test Paypal subscription buttons with sandbox?

after 5 hours of research and reading outdated paypal documentation I finally give up! I need to test a simple paypal subscription button with the paypal sandbox. Button Code:
stdclass
  • 2,932
  • 2
  • 19
  • 16
29
votes
6 answers

Unable to get the subscription information from Google Play Android Developer API

I'trying to use Google APIs Client Library for Java to get information about user's subscriptions purchased in my android app. Here is how I'm doing for now: HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); JsonFactory JSON_FACTORY = new…
Jonathan Naguin
  • 14,526
  • 6
  • 46
  • 75
28
votes
3 answers

How to test the "renew" component of auto-renew subscriptions in iOS App Store Sandbox?

Folks, I am attempting to verify that auto-renew subscriptions are actually renewing in the sandbox environment. First, it appears that auto-renew subscriptions in sandbox are only valid for 5 minutes. Makes sense. I expect that if I wait for five…
esilver
  • 27,713
  • 23
  • 122
  • 168
1
2 3
99 100