#__rxor__

1 messages · Page 1 of 1 (latest)

tepid torrentBOT
#

Hello! We'll be with you shortly. 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.

  • rxor, 36 minutes ago, 21 messages
  • rxor, 2 hours ago, 6 messages
wild raft
#

Sorry @sly wren for my next post with same problem but I cant manage it

crimson falcon
#

Hi, let me help you with this.

#

What are you trying to achieve exactly?

wild raft
#

Im trying to change customer subscription amount.

#

the amount may be custom not specified by price_id

crimson falcon
wild raft
#

depends of customer choice He can upgrade or downgrade his subscription because he decides what amount pay to us. I want to change it for next and future cycles currect cycle must stay the same

crimson falcon
wild raft
#

sec let my try

#

still something is wrong

crimson falcon
#

What's wrong exactly?

wild raft
#

sec i will paste code

#

and result

#

In [28]: stripe.Subscription.modify('sub_1OVCiSJZ9pJk48QC1B5un04g', items=[{"id": "si_PJqPwnhJMKzijM", "price_data": {"tax_behavior": "unspecified", "unit_amount": 1300 * 100, "currency": "pln", "product": e.id, "recurring": {"interval": "day, "interval_count": 30}}}], proration_behavior=None)

for this call subscription amount for next invoice shloud be set for 1300 pln right?

#

but it set for 2102 pln

crimson falcon
#

That might have been from your older prorations.

wild raft
#

Okay So what I need to do just to reach my given value without any extra amount?

crimson falcon
wild raft
#

Okay thanks I will try

crimson falcon
#

Happy to help.