#samip_00207

1 messages · Page 1 of 1 (latest)

shut oysterBOT
#

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.

wary dove
#

Did you change to 0341 on the 8th day? I think that's after we actually charged the 4242 card after 7 days trial period

wind geode
#

I removed the card before I even started the simulation

#

yet I have a paid invoice whereas I completely expect it to fail.

It marks the invoice as paid but keeps on adding to invoice credit balance although with a paid card, even if you delete the card and attempt the payment, it says paid

wary dove
#

Hmm not fully follow here. You updated it on 8th day right? so isn't expected to already charged the 4242 card on 7th day?

wind geode
#

This is using test clocks to run a simulation.

I signed up for the subscription with the 4242 card.

Went to the customers profile in Stripe dashboard and removed the 4242 card and replaced it with the 0341 card. (At this point, the customer is still under trial)

Then I moved the trial to 1 day after, simulated the subscription to go to that specific day.

The payment succeeds.

I don't know how I can get the payment to fail.

#

It should be charging the 0341 card since it has got no clue what the 4242 card is

wary dove
#

Alright, you swapped the card on the Customer profile correct?

#

But the Subscription still using the 4242 card

#

What you want to is to swap the Subscription's card instead

#

you can call Update Subscription and change its default_payment_method

wind geode
#

I did change the default_payment_method

wary dove
#

You sure? of the Subscription, not the Customer

shut oysterBOT
wind geode
#

The billing method for the subscription is set to :

Billing method : Charge default payment method

#

The payment card that customer has on file is the one ending in 0341

tranquil bear
#

Hi @wind geode I'm taking over this thread

#

what's the invoice ID?

wind geode
#

AAF05FD1-0002

tranquil bear
#

This is invoice number, I need the invoice ID, it starts with in_

wind geode
#

in_1OggNAGei7MrDZaxW1xqqWIQ

tranquil bear
#

There's no payment required for this invoice, it was paid by customer's credit balance

wind geode
#

Yes, but my subscription does not allow credit balance. I am not sure where the credit balance is coming from

tranquil bear
#

What do you mean by "my subscription does not allow credit balance." ?

wind geode
#

What does a credit balance imply ? Does that mean that the customer had 0.10 cents to pay out ? or does it mean that the customer can have outstanding balance of 0.10 ?

As far as I am concerned, what I am really trying to do is simulate a behaviour where I try to charge the card after 7 day of a trial and then fail the customer's card which means they are not eligible to go forward, but the customer's credit balance marks the invoice as paid ?