#Gkiokan-balance

1 messages · Page 1 of 1 (latest)

tacit saffron
#

hi! we never pay money to Customer objects no.

errant frost
#

So the paid amount stay in our stripe account

#

Just in case if we would need to pay the balance out. This should be possible though the stripe dashboard right?

tacit saffron
#

I don't think so no

#

to be clear you're talking about a credit balance that a Customer accrues from things like negative invoices?

errant frost
#

correct

#

I have the use case now if a user has a paid sub and upgrades his sub with a coupon, he gets a negative invoice total. This is a positive balance for him of amount x

#

But there is np in that. I don't want to pay them back, thats fine. The balance will be applied to any upcoming invoices I guess, so this is fine.

I just can't test the scenario with test clock

tacit saffron
#

The balance will be applied to any upcoming invoices I guess
yep indeed

#

this should all work with test clocks I would think

errant frost
#

As I have seen I can only create a dummy customer and set a subscription. But can't change any options for another fictive future date. Let's say upgrading tier x, adding coupon after 14 days, etc.

royal forum
#

Hi! I'm taking over this thread.

#

Can you clarify what you are trying to do?

errant frost
#

just some special cases for the test clock currently, but this is not a big matter as the initial question has been solved.

#

I want to test some special flows with test clock to simulate how the coupon and balance of the customer goes on

#

Like customer subscribes to a tier, but 1 month later he upgrdaes to another one with coupon, he gets a balance, but I want to see how the balance will be applied to the upcoming invoices etc.

#

Couldn't figure that out as I have seen just a start button on the test clock. But nvm, it's not that important. If something happens on production that is not expected I am sure stripe staff members can fix that

royal forum
#

Like customer subscribes to a tier, but 1 month later he upgrdaes to another one with coupon, he gets a balance, but I want to see how the balance will be applied to the upcoming invoices etc.
This should be possible with Test Clocks:

  • Create a subscription with a test clock
  • Then forward time one month
  • Then do some changes to the subscription
errant frost
#

Ah okay. I can do the changes step by step i see.

#

Thanks for the hint

#

While this ithread is open could you check this invoice

#

in_1LBeKYHa5WPIKK5I4tgGZ44H

#

Why is the coupon discount 0,00?

royal forum
#

The two invoice items in this invoice are proration, and I believe coupons don't apply to proration, that's why it's 0.00.

errant frost
#

oh thats bad

#

Let's say I have a sub of paid tier a (no coupons)

But upgrade to a more expensive tier b (with coupon of 100%)

Then it should work.

But when I upgrade from the latest state tier + coupon to another tier + coupon, it doesn't?

worthy hazel
#

Sincere apologies for the delay while I was getting caught up.

errant frost
#

np, thread can actually be closed. I need to make a workaround for that issue as it is just a edge edge edge case that maybe never will happen

#

I will just disallow it to change subscription tiers with coupons or maybe cancel and re-subscribe