#jackds_

1 messages · Page 1 of 1 (latest)

thin hareBOT
hard sphinx
#

Not sure what you mean by this, can you provide more context on your usecase?

charred hill
#

i want to create a normal subscription but i want to override amount before creating that subscription.

thin hareBOT
hard sphinx
#

sorry the usecase is still not clear

Can you use a real example so that I can be on the same page?

charred hill
#

for example product price is $5
if i created sub, i will be charged $5
how i can override this price to $4 for example?

icy sparrow
charred hill
#

it that will allow me to charge $4 and not $5 for that first invoice?

icy sparrow
#

Wait, you only want to charge a different price for a single Invoice? (That's not what I got from your original question, I thought the whole Subscription would be for a different amount)

charred hill
#

the original price of subscription is $5
-i want when user buy for the first time (first invoice) should charge him custom amount not $5

#

how to do this without coupon?

#

renew will be $5 ofc

#

?

#

there is a way:
by creating a trial and Include a one-time charge

#

but i don't want trial!

#

any other ways?

icy sparrow
#

It's going to pretty cumbersome to do that without using a coupon. You'll need to create a Subscription Schedule, with multiple phases.
https://stripe.com/docs/api/subscription_schedules
Subscription Schedules can drive future changes for an underlying Subsription. So you'd use one phase to charge your custom discounted amount via price_data, then have the next phase begin using the regular amount.

charred hill
#

thank you