#anant2712

1 messages · Page 1 of 1 (latest)

fair otterBOT
dusty relic
#

Hello

leaden magnet
#

hello

dusty relic
#

When you change Prices are they different intervals?

#

Like one monthly and one yearly?

leaden magnet
#

my first price plan: 10$ per day, period: 20-21-july-2022
I want the new price which is 20$ per day needs to be charged from 21st-july-2022. but it is charged immediately when I am changing price plan via API to customer's current subscription

#

Did you get my point

#

Note: I am changing price plan id to the same subscription id (subscription purchased by the customer)

dusty relic
#

Can you share the Subscription that you updated and it charged immediately?

leaden magnet
#

you want to dashbord scrrenshot?

#

or API call?

dusty relic
#

The Subscription ID please

#

sub_xxxxx

leaden magnet
#

sub_1NVw0LCvMMMb9OAZTgNPDeLg

#

subscription item id on which I am changing price plan id : si_OIX4YMqLalE98x

dusty relic
#

Thanks looking

leaden magnet
#

ok

dusty relic
#

Hmm I don't see that Subscription charging immediately for the update? looks like the next Invoice is on the 21st for $20

leaden magnet
#

ok, let me see in case it hitting any webhook

#

wait for a min

#

ok, its hitting subscription updated webhook
Can I know how can I come to know that this is price plan update so that I can handle not creating entry at my end
any unique column in the response?

dusty relic
#

You would listen for customer.subscription.updated and compare the previous_attributes in the Event to what is actually in the object of the Event

#

So you should see the previous Price in the previous_attributes

leaden magnet
#

ok, thanks