#jack11sparrow
1 messages · Page 1 of 1 (latest)
No, customer ID doesn't change once created.
can there be any scenario for that?
so if two invoices have different customer_id then they are different subscription and different customer?
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?
We have test cards here that you can use in test mode with subscriptions.
https://stripe.com/docs/testing#use-test-cards
And when invoice.updated will be called the customer_id will also remain the same. Am i correct here?
Yes
I used the test card 4242424242424242 but the subscription was not automatically renewed for this case
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
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
Sure
@primal prawn yeah, test card always fails the subscription renewal
we were using visa one 4242424242424242
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
what should we set there in our case?
Either a default payment method on subscription or a default payment method on the customer (under invoice_settings.default_payment_method)
okay, we will try that thanks
Can you also clarify on the prorations question ?
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