#nadia_0

1 messages ยท Page 1 of 1 (latest)

winter wingBOT
#

Hello nadia_0, 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.
โ€ข nadia_0, 2 days ago, 16 messages

bold geyser
#

Hi there ๐Ÿ‘‹ just making sure we're on the same page, it looks like the most recent request to update that Subscription was made form the dashboard rather than from your code, is that correct?

stone stone
#

hi @bold geyser yes i made the request on the dashboard this time (faster)

bold geyser
#

I'm trying to think through whether there is a good way to "undo" that.

stone stone
#

thanks a lot for your help ๐Ÿ™

bold geyser
#

I see. So the update created a new Invoice, which had a negative amount because it was just prorations That Invoice was automatically "paid" since it was negative, so the amount was credited to the customer's credit balance.

You should be able to use the steps shown here to make a change to the customer's credit balance, and offset the change made by that update:
https://stripe.com/docs/billing/customer/balance#modifying
but I would strongly recommend you test the process in testmode first to ensure it does what you're hoping.

Learn how to use the customer credit balance.

stone stone
#

thanks a lot !!

#

ill do it right now ๐Ÿ™

bold geyser
#

Any time!

stone stone
#

i've tried it but it added money to the customer :

  -u KEY: \
  -d amount=-530 \
  -d currency=eur```
#

๐Ÿ˜ญ

bold geyser
#

Negative amounts are treated as credits, positive amounts debit the balance.

stone stone
#

ahh thanks

#

i'll do it the other way

#

thanks

#

problem solved thanks a lot for your help & patience

#

have a nice weekend

bold geyser
#

Glad to hear! Thank you, hope you have a great weekend as well.