Error Case 2: Expired Credit Cards with Stripe & Java | Java Integration Testing: Stripe Payments


Another quite popular reason for errors is: Expired Credit Cards. What happens in your system when a user's credit card expires? Will he get an email? Will you? Will his account automatically be closed? In this episode, you'll learn how to test this error case, how to properly test e-mail sending and receiving WITHOUT a real mail server, so that you won't loose any sleep over it anymore.

This is a companion discussion topic for the original entry at