impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
340 stars 191 forks source link

Classic template should display error messages #6584

Closed pauloiankoski closed 1 year ago

pauloiankoski commented 1 year ago

Details

Currently, the Classic template does not display error messages. When you submit a donation form and there's an error while processing the form, nothing is returned.

Expected Behavior

Whenever you have an error, it must be printed on the form so the user is aware something happened with the transaction.

Steps to Reproduce

The following steps are only one example of how to trigger an error.

  1. Create a form that accepts recurring payments
  2. Select the Classic Template
  3. Go to the page with that form
  4. Select the option to pay recurrently
  5. Select Offline Payment as the method (it does not support recurring payments)
  6. Submit the form and see that nothing happens

Visuals

CleanShot 2022-10-18 at 14 44 39 Multi-step form presenting the error message

CleanShot 2022-10-18 at 14 45 34 Classic template form with no error message

CleanShot 2022-10-18 at 14 46 20 Return of the ajax call

Acceptance Criteria

JasonTheAdams commented 1 year ago

This is merged so we can't link it, but here's the Canny post this belongs to: https://feedback.givewp.com/bug-reports/p/classic-template-does-not-display-error-messages