• Resolved Semigataweb

    (@semigataweb)


    I want to create payment form using paypal button, when all required field filled before user click paypal pay button, the payment is working fine. When user forgot to filled all required field and then click paypal button the error validation is appear in the top of form “Please correct the errors before submission.” , but when the required field is filled the error still appearing and user cannot finalized the payment. How to fix it?

    note: behavior submission using “ajax” and validation “on submit”

    the url is included in the form support

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @semigataweb,

    I hope you are doing well today!

    Please share an export of the form with us, so that we can check further.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a services such as https://pastebin.com or https://justpaste.it/ which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

    Thread Starter Semigataweb

    (@semigataweb)

    Thank you for your reply,

    Here the export form https://pastebin.com/XwqbQYVr

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @semigataweb,

    Thank you for sending the exported form.

    I was able to replicate an error, which seems be related to the format of your input fields used in the calculation.

    Specifically, please review the {select-1} -“Destination Zone” field’s values:

    https://prnt.sc/YHbijLxevn2o

    – could you please try changing these values to the numeric ones from the Calculations tab ( 30, 40, 50, 65 ).

    I’ll be checking this further with the developers as well. Could you please test the above workaround on your end, and let us know if there’s still any issue.

    Best Regards,
    Dmytro

    Thread Starter Semigataweb

    (@semigataweb)

    Hi,

    I have change the value as your recommendation > https://prnt.sc/CJF05zN1WpWQ

    After i tested again the error is still apear > https://prnt.sc/70dPp5pdQado i think ajax validation not working well after all required field filled. Ajax validation only work well for each field but if the paypal button clicked the ajax validation is not checking again all form.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @semigataweb

    I checked it again and it actually is an already known bug in the plugin. Unfortunately, it’s exactly as you say – if the form is filled-in correctly from the start, payment will work but if there are validation errors, payemnt will not work fine and form needs to be reloaded and filled-in again.

    Unfortunately, the only workaround for this for now is to downgrade the plugin to version 1.23.3 – if you are not using any features added later you can give it a try and see if this (and other aspects of the form) are working fine.

    Otherwise, I’m afraid we’ll need to wait until bug fix is released. It’s “on the table” already but I don’t have ETA yet.

    Kind regards,
    Adam

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @semigataweb,

    I would like to update you that our developers are already looking at remedying the issue. While we cannot provide a specific timeline yet for the fix, you can get updates on our progress by subscribing to our roadmap at https://wpmudev.com/roadmap/.

    Once new versions are released, any pertinent changes will be described in the changelog, which you can find at:
    https://www.ads-software.com/plugins/forminator/#developers

    Seeing that this issue has been acknowledged and is being addressed, we’re marking this as resolved for now. However, if you have any queries, please don’t hesitate to ask. Thank you for your understanding.

    Best Regards,

    Nithin

    Thread Starter Semigataweb

    (@semigataweb)

    I will waiting for new update of the plugin for fixing the bug, but i want to edit the error message “Please correct the errors before submission.”. So i want user to reload the page before clicking pay button. How to edit the error messages?

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @semigataweb,

    If you do not require any new features, you could consider downgrading the plugin to version 1.23.3. Another option is to use the Loco Translate plugin and modify the error message according to your needs. This way, you can customize the message to better suit your requirements.

    https://www.ads-software.com/plugins/loco-translate/

    Kind Regards,
    Nebu John

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Paypal error submission validation always appear after all field filled’ is closed to new replies.