#aaparth-billing-test

1 messages · Page 1 of 1 (latest)

indigo mirage
#

you can consider using some of the test card

e.g. 4000008400001629 is a card which could be setup successfully but will be declined for charge [0]

you can set this card up and save to customer, create a subscription with a trial period so that the subscription will be $0 and active immediately,

then you update the subscription to end the trial to simulate a billing cycle, in this case , the payment will fail

[0] https://stripe.com/docs/testing

pulsar lake
#

okay

#

also how can I test the subscription billing cycle manually ?

#

I am unable to add this card

indigo mirage
#

yeah, you will have to do it using SetupIntent manually

#

not through the dashboard

#

and testing billing cycle, there is no good way unfortunately. you can probably create a price with billing cycle of daily

#

and check it out next day.

pulsar lake
#

last time someone told me that we can roll it manually

#

just a little feature request like can't stripe give an hourly subscription for the developer

indigo mirage
#

Yeah, that is definitely some of the top ask from the developer. but the whole billing testing support is much more difficult than it looks as it involves transition all the relevant entities (customer, invoice, payment_intent, receipt, etc.) into the right state; having an hourly subscription will increase the system load as well.

#

but the team is aware of this limitation and working on a better solution but there is no concrete timeline yet