Viewing 3 replies - 1 through 3 (of 3 total)
  • Because there is no diversion when payment error occurs and support does not perform optimally.

    I have come up with a quick solution for this: With the mollie form you fill in the following:

    successful message: “thankyou”
    Error message: “unsuccessful”

    Class succes bericht: “redirect-succes-mollie”
    Class error bericht: “redirect-error-mollie”

    Then you place the following jQuery code in the footer or javascript file and do not forget to change the URL:

    <script type="text/javascript>
    jQuery("p.redirect-succes-mollie").each(function() {
        if (jQuery(this).text().indexOf("thankyou") >= 0) {
            window.location.href = "https://www.jouwwebsite.nl/bedankt/";
        }})
    
    jQuery("p.redirect-error-mollie").each(function() {
        if (jQuery(this).text().indexOf("unsuccessful") >= 0) {
            window.location.href = "https://www.jouwwebsite/error/";
        }})
    </script>
    • This reply was modified 7 years, 3 months ago by givenbase.
    Plugin Author Nick

    (@ndijkstra)

    Sorry for the late response,

    I will add the variable {rfmp=”url”} to the next version.

    Thread Starter albertheres

    (@albertheres)

    Hi Nick,

    Great, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pagina url in bericht’ is closed to new replies.