#vin_dev
1 messages ยท Page 1 of 1 (latest)
Why do you wan to charge $1? What are you really trying to do?
we want show $100 price to user but for first 100 or 150 users we charged $1 & start free trial for those users
Why not just apply a discount? Also you can't really charge an amount and start a free trial
can you share a method of free trial i think its better
You're using Elements, right?
yes ๐
Then you'd just set trial_end when you create the Subscription: https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok got it buddy
so, we have two plans
1 : Month, Half yealy, Yearly
2: 100strips, 200strips, 300strips (strips price chnage on plan ok)
then after submit checkout form user charged so how to stop because subscription start after device(strips) deliverd and its take max 10 days
I think we spoke about this earlier, no?
The Subscription will always start when you create it. If you want to delay the payment you can use the parameters we spoke about
Alternatively look at using a Schedule: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#start-subscription-future
Or, you could just collect the payment information from your user, and then programmatically create the Subscription n days later
ok let me check
sorry didnt get a point in simple way i just stop collecting payment after submit checkout form
just collect payment details
I don't understand the question
Hi there ๐ jumping in as my teammate needs to step away soon. I'm also not sure I'm grasping your most recent statement/question. If there is still something we can assist with, then could you try rephrasing your question/concern?
ok After fillup this form user was charged,
so we need to stop collecting payment (charged) & just saving payment details
need to stop collecting payment just store a user card details
i am using elements
If you don't have an intention of immediately charging the Customer, then you should use a Setup Intent to initialize the Payment Element instead of a Payment Intent. This guide walks through that process:
https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
You'll then create the Customer's Subscription from your backend code, and provide it the ID of the Payment Method that was created by the Setup Intent.
Any time!