Questions tagged [subscription]

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

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

2251 questions
1
vote
1 answer

How to give discount on new Stripe subscription?

We have a free subscription concept separate from Stripe. When a user signs up for a paid subscription we want to charge them immediately but still honor any remaining free-period. I know I can use trial period to delay the start of the Stripe…
Kurru
  • 14,180
  • 18
  • 64
  • 84
1
vote
1 answer

GraphQL query with Apollo Client is returning an empty response

i'm trying to connect graphal after adding websocket and subscription to react but all reauest are returnin empty array with nod data here is my server.js import * as dotenv from 'dotenv' dotenv.config() import { getUser, userProtect…
sPEER PANSER
  • 13
  • 1
  • 5
1
vote
0 answers

Don't get subscription plan using in_app_purchase dependency flutter

enter image description here in_app_purchase throw error [purchaseId] not found so what I do? I am using in_app_purchase: ^3.1.1 I get all the producers from the play console but not the subscriptions. I try both of purchasePlanId and basePlanId but…
1
vote
1 answer

Angular intercepted Http subscription not finalize

I have an interceptor that check for http response with status code 401 so that it can request refresh-token by calling refreshToken() before trying the initial request once more. The refreshToken() observe refreshTokenLockSubject$ so that only one…
ytan11
  • 908
  • 8
  • 18
1
vote
0 answers

Stripe payment failing after trial period

I'm attempting to create a monthly subscription with free 7 day trial, but after the trial period the payment fails. EDIT: It appears to fail because the customer has no default payment method, so despite the payment method being attached to…
LBJ33
  • 425
  • 11
  • 29
1
vote
1 answer

How to override templates for WooCommerce Subscriptions?

I'm trying to override some template files for WC Subscriptions. The template file I'm trying to override is: plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/myaccount/subscription-details.php I have tried placing…
1
vote
1 answer

How to receive SSE using axios in nodejs?

I would like to use text/event-stream via axios library in nodejs to subscribe GQL subscriptions. It is possible? And how can I do it? I am trying to use my code: console.log("a") const axios = require('axios'); const…
1
vote
1 answer

Is it possible to return the value from subscribe?

this is my translate function, i require to return the array. Is it possible to return from Subscribe - ? translator(items) { const output = items?.map((item) => { return this.translate.get(item.label).subscribe((value) => { …
3gwebtrain
  • 14,640
  • 25
  • 121
  • 247
1
vote
1 answer

Stripe creates an invoice and does not wait for it to be paid

I have one product and 8 prices (4 monthly and 4 annual) When a user updates a subscription from one number to two, stripe creates an invoice and waits for the user to pay for it And here are my two situations when I do not understand what to…
1
vote
2 answers

Azure service bus one subscription VS multiple

I am working something that utilizes the azure services & azure functions(with sb trigger), and trying to figure out if it matters to distribute the messages by creating multiple subscriptions VS Just one? Please see the Before VS After in below…
1
vote
3 answers

TypeError: Cannot read properties of undefined (reading 'id') angular unit test

I am trying to update item, I wrote a function which gets the items from the store and update with new item based on user's selection with this.name and this.price but the same item.id that is intended for update. public updateItemData(){ …
Curtis Lanz
  • 405
  • 2
  • 16
1
vote
0 answers

Create a subscription returns error Notification endpoint must respond with 200 OK to validation request

I've been trying to create a subscription to a user's outlook mail inbox using Microsoft Graph. I've defined all the necessary grants/rights on Azure AD. (Mail.Read, Mail.ReadWrite) My create_subscription method is defined below: def…
1
vote
1 answer

Is there a way to give specific features only to user in in-app purchase trial subscription in Flutter

I'm trying to figure out if it's possible to do this. I am building my flutter app it's going to have in app purchase subscription in in which I am offering a 3 days trial. I want to customise the 3 days trial in such way in which I can prevent the…
1
vote
0 answers

Update existing subscription with incomplete state (3D Secure)

With normal payment without subscription update here are the steps I follow : Create subscription (server side) Check subscription.latest_invoice.payment_intent.status === "requires_action" Send…
zaarr78
  • 467
  • 9
  • 21
1
vote
1 answer

OPC UA Client Subscription Handler

OPC UA Client Subscription Handler I have created an OPC UA Server and a Subscription handler on the client side. I am trying to get the node data to be stored into a .csv or .txt file for processing. I am wondering if there us a way to do that?