#ferguson_goose
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.
- ferguson_goose, 18 minutes ago, 5 messages
Feel free to ask follow-ups here
Thanks!
So the question was if there any workaround to collect a payment for trial period? For example, I want to collect $1 from customer for 7 days trial and then automatically charge the full subscription price once the trial is over.
On the backend I create a subscription. If I just add a $1 price for the subscription it will be for the whole period of the subscription. And if I add a trial period then I can't charge any price for thial
You can add a one-time line item to the initial trial invoice for the 'trial payment': https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So create the subscription with your recurring item(s), add trial_period_days: 7 and also add the one-time fee via add_invoice_items. The initial invoice will include the one-time trial fee, and the billing period will be for the 7 day trial
Sounds very clear. Thanks!