#abhishek_gang
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.
- abhishek_gang, 1 day ago, 10 messages
- abhishek_gang, 1 day ago, 12 messages
What's the sub_xxx ID?
subscription = Stripe::Subscription.create(
customer: customer_id,
items: [{
price: price_id,
}],
payment_behavior: 'default_incomplete',
payment_settings: {save_default_payment_method: 'on_subscription'},
expand: ['latest_invoice.payment_intent']
)
sub_1OA8MDLYIdOgE1QHJd49SxBt
The ID please, but based on the above you will need to actually collect payment details and confirm the initial payment: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#collect-payment
Yeah the initial invoice is waiting payment. You need to confirm the associated payment which will transition the subscription to active (assuming success)