#rajput.abd_22
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- rajput.abd_22, 15 hours ago, 9 messages
- rajput.abd_22, 16 hours ago, 30 messages
- rajput.abd_22, 22 hours ago, 4 messages
- rajput.abd_22, 1 day ago, 4 messages
- rajput.abd_22, 1 day ago, 20 messages
- rajput.abd_22, 2 days ago, 10 messages
and 1 more
You should share the same Customer object
In the first step you already have a Customer. Reuse that Customer Id for the next Subscription
where i need to share this
yes i have used this
If so, can you provide the first Subscription Id and the second Subscription Id?
okay wait
first subscriptionId : sub_1O7t29Cz4DYWbcETa5LQ4xpg
second subscriptionId : sub_1O7t5ICz4DYWbcET00yo9OEd
Hi @frigid saffron I'm taking over this thread
Are you asking why sub_1O7t5ICz4DYWbcET00yo9OEd is incomplete?
That's because the latest_invoice of this subscription has auto_advance set to false
one sec, let me take a closer look
ok
https://dashboard.stripe.com/test/logs/req_ryvNIw4lLIWwSv for the first subscription you manually paid the first invoice through PaymentElement.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And you didn't do it for the 2nd subscription.
yupp because i need to use 1st subscription payment method in 2nd subscription
Then you should sepcify the default_payment_method when creating the 2nd subscription https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
first subscription is created during subscription where client fill their card details
but second subscription is created through user management. where client doesn't need to fill card details
What do you mean by "second subscription is created through user management." ?
user management is our module where we can create another user of same account with some limit access actions
so that client distribute thier account to differ-2 user
according to thier work
Ok, but you didn't specify the default_payment_method when creating the subscritpion https://dashboard.stripe.com/test/logs/req_tyAeePAQyMECdr
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Alternatively, before creating the subscrition, you can set the last used payment method as the customer's invoice_setting.default_payment_method, so that Stripe will use this payment method to pay the invoices generated for this customer.
so that means i need to update customer before creating new subscription right
Yes
okay
@tepid flower i did exactly as discussed but subscription is still not getting active
may be there is some another do i need to use any frontEnd work for this ???
What's the subscription ID?
sub_1O7tZeCz4DYWbcETKYlDJdzD
https://dashboard.stripe.com/test/events/evt_1O7tZfCz4DYWbcETZFPRoRZu that's because you endpoint hasn't acknowledge the webhook event
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
means subscription is not active beacuse my endpoint is not working properly right ???
yes
do i need to do something extra on webhook
Your endpoint returned 502, you need to check you server log to determine why it doesnt' return 200