#johanhenriksson
1 messages · Page 1 of 1 (latest)
Hi there
Hmm really the best way to do this is using a test clock
Is there a reason you don't want to use test clocks here?
I would need to manually go into the BE database and connect the test clock customer and test clock subscription. I would like to use a reusable method that I can replicate programmatically.
Is there a test credit credit card number that Stripe accepts that would achieve this? Doesn't seem like "Decline after attaching" card will do this? https://stripe.com/docs/testing#declined-payments
No there is no test card that does this automatically.
If you want programmatic testing here we really recommend mocking responses in this case
Thanks for the help! Have great rest of the day
Sure thing! And you too