pronamic / wp-pronamic-pay

The Pronamic Pay plugin allows you to easily accept payments with payment methods like credit card, iDEAL, Bancontact and Sofort through a variety of payment providers on your WordPress website.
https://pronamicpay.com
34 stars 14 forks source link

Use of comma notation in test_amount #93

Closed rvdsteege closed 9 years ago

rvdsteege commented 9 years ago

test_amount in admin only works with 1.00 notation, not with comma separated values such as 1,00. Comma notation results in error at payment gateway about invalid amount.

Source: https://github.com/pronamic/wp-pronamic-ideal/blob/develop/classes/Pronamic/WP/Pay/Admin.php#L384

remcotolsma commented 9 years ago

Just added thousands and decimal separator settings to the Pronamic iDEAL plugin. If the decimal separator is set to an , users should be able to enter a value like 1,50.

https://github.com/pronamic/wp-pronamic-ideal/commit/0f09afab8ce87b7f6428bd9f8ad1adadc04795dd