Title: givenbase's Replies | WordPress.org

---

# givenbase

  [  ](https://wordpress.org/support/users/givenbase/)

 *   [Profile](https://wordpress.org/support/users/givenbase/)
 *   [Topics Started](https://wordpress.org/support/users/givenbase/topics/)
 *   [Replies Created](https://wordpress.org/support/users/givenbase/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/givenbase/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/givenbase/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/givenbase/engagements/)
 *   [Favorites](https://wordpress.org/support/users/givenbase/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Forms] Redirect na betaling](https://wordpress.org/support/topic/redirect-na-betaling/)
 *  [givenbase](https://wordpress.org/support/users/givenbase/)
 * (@givenbase)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-na-betaling/#post-9722281)
 * Omdat er nog geen redirect is bij succes of error van de betaling en de support
   niet optimaal presteerd.
 * Heb ik hier een snelle oplossing voor bedacht: Bij de mollie formulier vul je
   de volgende in:
 * Succesvol bericht: “dankjewel”
    Error bericht: “nietgelukt”
 * Class succes bericht: “redirect-succes-mollie”
    Class error bericht: “redirect-
   error-mollie”
 * Daarna plaats je de volgende jQuery code in de footer of javascript bestand en
   vergeet de URL niet aan te passen:
 *     ```
       <script type="text/javascript">
       jQuery("p.redirect-succes-mollie").each(function() {
           if (jQuery(this).text().indexOf("dankjewel") >= 0) {
               window.location.href = "https://www.jouwwebsite.nl/bedankt/";
           }})
   
       jQuery("p.redirect-error-mollie").each(function() {
           if (jQuery(this).text().indexOf("nietgelukt") >= 0) {
               window.location.href = "https://www.jouwwebsite/error/";
           }})
       </script>
       ```
   
    -  This reply was modified 8 years, 6 months ago by [givenbase](https://wordpress.org/support/users/givenbase/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Forms] Pagina url in bericht](https://wordpress.org/support/topic/pagina-url-in-bericht/)
 *  [givenbase](https://wordpress.org/support/users/givenbase/)
 * (@givenbase)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/pagina-url-in-bericht/#post-9722276)
 * 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 8 years, 6 months ago by [givenbase](https://wordpress.org/support/users/givenbase/).

Viewing 2 replies - 1 through 2 (of 2 total)