stripe-ruby-mock / stripe-ruby-mock

A mocking library for testing stripe ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is payment intent status succeeded for payment method with card 4000 0000 0000 0341

adnanpirota opened this issue · comments

I'm trying to test a case with failing payment intent, so I have created payment method with card 4000 0000 0000 0341 but when I'm submitting payment intent it returns status succeeded. Payment intent should fail when this card is used. In general I was not able to find any read regarding testing failing payments.