#kevinfleri-subscription tests
1 messages · Page 1 of 1 (latest)
https://stripe.com/docs/billing/subscriptions/billing-cycle#api-now can be used to make the cycle change "now"
After I have been successfully created a subscription, I need to be able to simulate both success and failure payment for the next cycle
@fair gulch
Sure. You'd set up the Subsciption for a Customer with a "good" test card, then change the Customer's invoice_settings.default_payment_method to a card that will fail, then change the billing_cycle to "now" and it will test a failure. You can use the card ending in 0341 from https://stripe.com/docs/testing#cards-responses
Thanks, will these bad test card be able to generate card token, I am using default_source instead of the payment method because I need it to be compatible with ACH debit with Plaid.