#fahad

1 messages · Page 1 of 1 (latest)

ebon nestBOT
hexed heron
#

Hey there, can you share an example subscription and what you need to change?

#

I can recommend ways you can do this

#

So the customer already paid the annual amount, but the subscription is set to renew in a month?

velvet vine
#

So the subscription I set up was £57 with 7 day trial

#

It's supposed to be £57/year, i accidentally set it up as £57/month

#

I've set up the new correct product now and updated our website

#

Some customers remain on the £57/month thinking that it was just a typo

#

no one has paid anything yet

hexed heron
#

OK, can you share an example subscription for one of those?

velvet vine
#

What do you mean?

#

Like the subscription ID?

velvet vine
#

@hexed heron hate to be a nuisance but dealing with a bit of a fire

hexed heron
#

Yes, example subscription IDs

#

You'll need to update the subscriptions to use the intended annual prices

velvet vine
#

@hexed heron sub_1M7hgqEVaEJ5YCHBBeg413cS

hexed heron
#

Thanks, looking

hexed heron
#

Ok, if they're still on trial you can update the existing subscriptions with the new correct annual price

#

like this:

#
curl https://api.stripe.com/v1/subscriptions/sub_123 \
-u sk_test_123: \
  --data 'items[0][id]=si_456' \
  --data 'items[0][price]=price_789_annual' \
#

this will change out the subscription item while the subscription is still trialing

velvet vine
#

@hexed heron where would i run this curl?

#

How do I do this for all users who are on monthly?

#

Thanks dude

hexed heron
#

You can run using any HTTP tool like postman etc, or write a small script in your preferred language using our SDK

#

You need to identify the customer/subscriptions to make the change for, there's no way to do that automatically