#serdar4003_best-practices

1 messages Ā· Page 1 of 1 (latest)

stray minnowBOT
#

šŸ‘‹ Welcome to your new thread!

ā²ļø We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

ā±ļø We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1336295067190693909

šŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

sweet nymph
#

hi there!

#

so what are the choice from the customer?

  • either pay 120€ once
  • or pay 40€ every months for 3 months
charred olive
#

That decission is on the side of the sales person

But we as platform want to offer both options so they can decide if they want directly the payment or not

Currently we have just implemented the 120€ once payment for 3 month

#

But the customers want, that the 120€ are split by the 3 months so that the payments will be 40€ every month for 3 months

#

Currently we are creating prices like this:

this.stripe.prices.create(
{
unit_amount: priceInCents,
currency,
recurring: { interval: 'MONTH', interval_count: 3 },
product: productId,
metadata,
}
)

sweet nymph
#

But the customers want, that the 120€ are split by the 3 months so that the payments will be 40€ every month for 3 months
in that case you would create a 40€ monthly subscriptoin, that automatically cancel after 3 months

charred olive
#

okay so we need to do that on our side, right?

#

just wanted to know, if there are any options like that on stripe side

sweet nymph
#

I don't understand the question, sorry. if you want to start a Subscription for a user, you'll need to do some work on your end yes. Either use Checkout Session, Payment Links, or the Subscription endpoint.

charred olive
#

No worries, i understood šŸ˜„

#

Thank you!