#abhishek_gang

1 messages · Page 1 of 1 (latest)

dense riverBOT
#

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.

gentle gulch
#

What's the sub_xxx ID?

tame sequoia
#

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

gentle gulch
#

Yeah the initial invoice is waiting payment. You need to confirm the associated payment which will transition the subscription to active (assuming success)