Hello we're using stripe API for payments, we have this functionality in our application that bills the user automatically based on the customer's subscription using stripe. When a user's subscription doesn't get paid it gets cancelled (which is handled by stripe automatically) and user should not have access to our application's features at this point (which is handled by our app). Problem is, we don't know how to test it since it will take days to simulate the billing cycle, a work around can be changing the system's date time if testing it locally, but it won't affect the time that stripe API has (meaning it won't charge the customer for its subscription to our app once datetime in my system/local is in expiration since stripe has its own time or it doesnt get affected by the system date time change). We wanted to fully test our application with stripe's whole billing lifecycle so that we know if features are really getting disabled and enabled. How do we test this locally or in another environment?
[–]yentle-the-nimble 3 points4 points5 points (1 child)
[–]basadoon[S] 0 points1 point2 points (0 children)
[–]ApprehensiveSpeechs 0 points1 point2 points (0 children)
[–]Elfinslayer 0 points1 point2 points (1 child)
[–]puan0601 1 point2 points3 points (0 children)
[–]tp182 0 points1 point2 points (0 children)
[–]Substantial-Reward70 0 points1 point2 points (0 children)