hps / heartland-woocommerce-plugin

Secure Submit Plugin for WooCommerce
GNU General Public License v2.0
13 stars 14 forks source link

Error messages are not displayed in some cases #194

Closed vkobrenko closed 1 year ago

vkobrenko commented 1 year ago

After updating the plugin from version 1.13.1 to 2.1.1, I found an issue where some error messages were not displayed as expected. Namely, in the following cases:

Case A. User entered invalid card details.

Actual behavior: a user doesn't receive any error message after clicking on the "Place Order" button. Expected: a user gets the following message: "Card number is invalid."

Actual (v2.1.1) Expected (as in version 1.13.1 )
image image

Case B. The credit card form was not filled out at all.

Actual behavior: a user doesn't receive any error message after clicking on the "Place Order" button. Expected: a user gets the following message: "Card number is missing."

Actual (v2.1.1) Expected (as in version 1.13.1 )
image image
vkobrenko commented 1 year ago

Implemented a change that fixes this issue - PR#195

MSmedal commented 1 year ago

Will be addressed in v2.2.1 release