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
In the WePayCheckoutRecords migration, there is no definition to the precision and scale attributes on the :decimal columns, so Rails assumes a precision of 10 and a scale of 0, truncating any cents returned from Wepay.
I would suggest you put in a precision of 10, and scale of 2 in those columns.
The text was updated successfully, but these errors were encountered:
Thanks for pointing that out! I've only been using whole numbers up until now which is why I didn't see this sooner, will get this fixed in the next update.
Thanks for pointing that out! I've only been using whole numbers up until now which is why I didn't see this sooner, will get this fixed in the next update.
—
Reply to this email directly or view it on GitHub.
In the WePayCheckoutRecords migration, there is no definition to the precision and scale attributes on the :decimal columns, so Rails assumes a precision of 10 and a scale of 0, truncating any cents returned from Wepay.
I would suggest you put in a precision of 10, and scale of 2 in those columns.
The text was updated successfully, but these errors were encountered: