impress-org / givewp-snippet-library

A collection of code snippets to enhance or expand on the free Give WordPress Donation Plugin.
https://givewp.com
140 stars 90 forks source link

give-simple-ticket-incrementer - Give interprets comma as decimal #102

Closed tkatsiro closed 4 years ago

tkatsiro commented 5 years ago

The give-simple-ticket-incrementer plug-in is reading the comma that Give forces in the amount as a period: I changed one of the forms to 2,000 and when I changed the ticket total to 2, the total for the form became $4. Works perfectly for number without commas.

DevinWalker commented 4 years ago

This has been fixed in #109