#bruuh00
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.
It's important for the subscription to not start until the payment has been done
👋 happy to help, will be right with you shortly
Also, I just created a free (with a coupon) subscription on the test env, to send to a customer email for it to be paid - but I am not receiving any emails from stripe
Ok so just to be more clear. We want to do some beta testing and offer a one month subscription for some of our users.
I need guidance on:
- how to create a free subscription that is available only for a set of users
- how to make sure they can go into checkout - get the subscription for free - but in order to do that they have to fill shipping details info
- how to make sure that the subscription will be cancelled automatically after 1 month.
What I thought:
- create a coupon for 100% free
- create a subscription for the user and apply the coupon
- the subscription should not be active until the user pays for the sub (with the coupon applied)
- the user CAN NOT pay for the subscription unless shipping info is applied
- once the subscription is paid and shipping info is collected - user will get the subscription activated.
- the checkout should be sent as URL on user's email
sorry for the late reply
give me one minute to read through your messages
Also, I just created a free (with a coupon) subscription on the test env, to send to a customer email for it to be paid - but I am not receiving any emails from stripe
in test mode Stripe doesn't automatically send emails
how to make sure they can go into checkout
do you mean Stripe Checkout?
the subscription should not be active until the user pays for the sub (with the coupon applied)
that doesn't make sense since the coupon is for 100% so there won't be anything to be paid
- how can I send emails in test mode?
- stripe check-out, yes
- let's suppose then I create 100% off coupon that the user has to use it on checkout
I think for your use-case the best way to approach it is to do the following
1- create a payment link https://stripe.com/docs/payment-links/create
2- instead of using a coupon, you can put the subscription on a free trial https://stripe.com/docs/billing/subscriptions/trials (https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-subscription_data-trial_period_days)
3- you can then share the payment link however you like (https://stripe.com/docs/payment-links/share)
4- you can collect the billing_address https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-billing_address_collection (pass in required)
5- create a webhook endpoint and listen to the checkout.session.completed event (https://stripe.com/docs/payments/checkout/fulfill-orders)
if the Checkout Session object has a subscription ID, you can then update the subscription to mark it to be canceled at period end (https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at_period_end )
Is there any way or parameter when creating a checkout session to automatically cancel a subscription after x days?
not with payment links
you have with Checkout Sessions https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_settings-end_behavior