makehackvoid / mhvdb2

Replacement for MHVDB. Needs a better name.
MIT License
4 stars 7 forks source link

Payments page sends payment amount as dollars, but server expects cents #25

Closed cmrn closed 10 years ago

cmrn commented 10 years ago

This means any decimal amount of dollars (e.g. $12.50) is being rejected by the server as an invalid amount.

The value should probably be converted to cents in javascript before the page is submitted - this keeps the REST api nice and neat while solving the issue.

cmrn commented 10 years ago

Duplicate of #24.