You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using stripe-ruby-mock I tried to create a PaymentIntent with a status of requires_action to mimic being mid-flow of a 3D Secure process. It always ended up as 'succeeded' though.
I had a look at the source code and realised that a specific amount is needed to set the status, 3184. There are other numbers for other statuses. What is the reason for status only being set indirectly via amount? I'd like to propose either allowing status to be set directly, or that the amount thing is documented somewhere other than spec to make it clearer. I'm happy to contribute some time to do or help do either one of these things.
Thanks for the hard work on this great library! I use it almost daily :)
The text was updated successfully, but these errors were encountered:
While using stripe-ruby-mock I tried to create a
PaymentIntent
with a status ofrequires_action
to mimic being mid-flow of a 3D Secure process. It always ended up as'succeeded'
though.I had a look at the source code and realised that a specific
amount
is needed to set the status,3184
. There are other numbers for other statuses. What is the reason forstatus
only being set indirectly viaamount
? I'd like to propose either allowingstatus
to be set directly, or that theamount
thing is documented somewhere other than spec to make it clearer. I'm happy to contribute some time to do or help do either one of these things.Thanks for the hard work on this great library! I use it almost daily :)
The text was updated successfully, but these errors were encountered: