-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a custom plugin encoder for all DateTime parameters #1164
Comments
Agreed, I'm seeing this issue with the TosAcceptanceDate field. Is there currently any workaround? |
@KClough I just tried to pass
In the dashboard log for that request creation I then see:
Do you have more details about the issue you are encountering? |
@remi-stripe Thanks, error was on my end, I'm good now. |
Implemented in 20.0.0. |
Timestamps in the API are represented as DateTime in stripe-dotnet. Those have to be converted to a timestamp internally such as here which is easy to forget.
It would be better to add a custom plugin encoder for those parameters as we do for other types here.
The text was updated successfully, but these errors were encountered: