#M Adil
1 messages · Page 1 of 1 (latest)
Hi Rubeus, can you give me the solution for my above problem please. It will be great
Hello! No, it's not possible to create a Payment Intent with the amount set to zero. You would need to use a Setup Intent instead. Subscriptions create a pending_setup_intent when there's no initial payment required: https://stripe.com/docs/api/subscriptions/object#subscription_object-pending_setup_intent
will it helpfull to create free subscription plan?
Not sure I understand, can you provide more details?
Actually, I want that, when a customer wants to get free subscription plan, there should be payment sheet (like paymentIntent or something else) to add payment details, but should not charge due to free subscription plan.
Right, that's what the pending Setup Intent is for.
You use the client secret from the Subscription's pending Setup Intent with the Payment Sheet to collect and set up payment details for future use.
Great, got your point. thanks a lot man 👍