Answer the question
In order to leave comments, you need to log in
Stripe payment system - testing for specific errors, is it possible to test from a stripe form?
Good day! I work as a tester on one project. The above-mentioned payment system - Stripe - was screwed on the project. There was a question how to test the payment for at least specific errors, such as:
- Wrong CVC code
- Insufficient funds on the card
- Card is blocked
On the side of the form it is checked:
- Is the name written
- Is there enough characters for the card number
- Determination of card payment systems
- CVC is present the code and whether there are enough characters in it
- Is there a ZIP and whether there are enough characters in it
- Whether the card has expired (both the month and the year are checked)
The form itself is stripe.
According to the stripe doc (https://stripe.com/docs/testing#cards-responses ) you can use special cards that will give specific errors.
By entering the data of these cards, I get successful payments, which is visible both on the front of our project and on the Stripe website itself, so I don’t quite understand what I’m doing wrong. I enter card data only in the "Card" field, do not enter CVC, month / year, ZIP does not validate the Stripe form. Perhaps you need to send a request along with the required token and payment method, but I don’t know how)
Perhaps someone has already known the answer for a long time, I will be grateful!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question