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
Hi @carantunes, thanks for the report. It seems that the three_d_secure parameter is not present in the public OpenAPI specification for the POST /v1/sources endpoint.
Note that even if we were to fix the specification to add this parameter, stripe-mock currently does not have the ability to return a resource consistent with the parameters, only with the endpoint. That is to say, stripe-mock would return a source object, but probably not one with type=three_d_secure (looking at the current version of the fixtures file, the source fixture has type=ach_credit_transfer).
Note that even if we were to fix the specification to add this parameter, stripe-mock currently does not have the ability to return a resource consistent with the parameters, only with the endpoint.
I know that, however for testing purposes I need the create sources endpoint to work with type=three_d_secure, even if the returned resource is not consistent with the parameter.
When I create a new source of type "three_d_secure" an error is returned related to the card sent in the TypeData field.
Logs
The text was updated successfully, but these errors were encountered: