Skip to content

Conversation

@ithielnor
Copy link

No description provided.

Also removed AmountInDecimal from ProcessPaymentRequest. I don't think
the api wrapper should try to handle currency corrections. User should
know what the Spreedly currency unit is for their case.
Also fix build error in PaymentModule
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is something i use, why has this been removed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that unit conversions should be the responsibility of the user rather than the library. This property would be useful (and missleading) for users working in non-base100 currencies.

If you want to keep it in the library maybe move it into a separate extension.

@ithielnor
Copy link
Author

This branch has a bunch of features I need for my project. It is dependent on PR #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants