#jack11sparrow

1 messages · Page 1 of 1 (latest)

glad pastureBOT
primal prawn
#

No, customer ID doesn't change once created.

fossil loom
#

can there be any scenario for that?

#

so if two invoices have different customer_id then they are different subscription and different customer?

primal prawn
#

Yes, that's correct

#

can there be any scenario for that?
Not that I know of, no.

lucid hare
#

Let's say we made a subscription that renews daily. Is there a test card that makes the payment automatically?
And when invoice.updated will be called the customer_id will also remain the same. Am i correct here?

primal prawn
lucid hare
#

I used the test card 4242424242424242 but the subscription was not automatically renewed for this case

primal prawn
#

Do you have an example subscription I can look at?

#

@lucid hare do you work with @fossil loom ?

#

If not then, let's open a separate thread

lucid hare
#

I deleted the susbcriptions 2 days ago as they were clattering.
From events tab, I was able to find the id sub_1NX46EFBOk0mujJ73ajiuFZj, if it works.

Answer to second question. Yes me and @fossil loom both work together

primal prawn
#

👍

#

closing the other thread to keep the context here

lucid hare
#

Sure

fossil loom
#

@primal prawn yeah, test card always fails the subscription renewal

#

we were using visa one 4242424242424242

primal prawn
#

Did you attach a default payment method on the customer?

The subscription was set to charge customer's default payment method but looking at the customer object, there were none set as default payment method under customer.invoice_settings.default_payment_method

fossil loom
#

what should we set there in our case?

primal prawn
#

Either a default payment method on subscription or a default payment method on the customer (under invoice_settings.default_payment_method)

fossil loom
#

okay, we will try that thanks

lucid hare
#

Can you also clarify on the prorations question ?

primal prawn
#

For stripe prorations, I have made a yearly subscription(1 Jan 2023)but after 3 months I decide to change subscription using the proration. Now when will the subscription expire(1 Jan 2024) or (1 Apr 2024). The billing cycle of the second subscription is also 1 year