#dineshkumar_unexpected

1 messages ¡ Page 1 of 1 (latest)

meager citrusBOT
solid ledgeBOT
#

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.

meager citrusBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1259925542195564594

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

urban pond
#

I don't understand the question. Please spend a bit of time explaining yourself better with reproduction steps and API calls. Copy/pasting the same sentence over and over again is not helpful.

normal mist
#

If i create subscription with payment_behavoir=default_incomplete and 100% off promocodeId , subsction status is active? or incomplete?

#

i got active, but i want incomplte fro above scenario for get confirmation from user on UI

#

var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customer.Id,
Items = subscriptionItems,
PaymentSettings = customer.InvoiceSettings.DefaultPaymentMethodId == null ? new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on_subscription" } : null,
PaymentBehavior = "default_incomplete ",
PromotionCode = promocodeId
};

urban pond
#

Why would the Subscription be incomplete? The $0 Price resolves and results in an active Subscription. There's no way around that

normal mist
#

i want to save customer's default payment method if $0 Price for next Subscription

#

next billing for monthly Subscription i want auto payment, first month only we need to apply 100% off

urban pond
#

Yup. You can do all that, but you can't have an incomplete subscription when the Price is $0 to start

normal mist
#

how will auto payment happen ,for first time 100% off subsscription, if custmer's/subscription's default payment method is null?

urban pond
#

You would have to create a Payment Method, attach it to the Customer, and set it do default. If no Payment Method is there, the payment fails and the Subscription become overdue

normal mist
#

Our Flow is

  1. create subscription with 100% off promocode
  2. and then save default payment method after successful Subscription created.
#

upcoming auto renewals are will use Customer's default_payment method or Subscription's default_payment method?

urban pond
#

Yup

normal mist
#

i am asking, which one stripe take for auto reneval

#

Customer's default_payment method

#

or Subscription's default_payment method

urban pond
#

Either. They're both used for the same thing. The Subscription's default PM takes precedence