Forums

Redirect Plugin not redirecting

Grumpster 28 Dec, 2009
Software:
Component Version: 3.1 RC5.5
Joomla Version: 1.5.14

Problem: I have setup and published a form to accept Paypal payments. I have enabled the Redirect Plugin to send the user to my Paypal page after the form has been submitted. In my tests, the emails are being sent after the form is submitted, but I'm not getting redirected to the Paypal page.

Here are the settings I have:

Redirect Plugin > General tab > Extra Fields Data:
[list]
  • cmd=_s-xclick

  • hosted_button_id=[my-paypal-id-number]

  • currency_code=CAD
  • [/list]

    Redirect Plugin > URL Parameters
    [list]
  • Target URL = https://www.paypal.com/cgi-bin/webscr

  • Flow control = Before Email (Note: I've set this to "After Email" but it keeps reverting back to "Before Email")

  • Debugging = No
  • [/list]
    Form > General Tab
    [list]
  • Name = testform1

  • Email the results? = Yes

  • Form method = Post

  • Load Chronoforms CSS/JS Files? = Yes

  • Redirect URL = (no value entered)

  • Submit URL = (no value entered)

  • Submissions Limit (in seconds) = (no value entered)

  • Submissions Limit error: = Sorry but you can not submit the form again very soon like this!

  • Debug: = OFF

  • checkToken: = ON

  • MYSQL Statement? = ENGINE

  • Enable mambots? = NO

  • Republish fields if error occured: Don't Republish

  • Republish skip list = (no value entered)

  • Renew Form Instance On Submit = New Instance
  • [/list]
    The rest of the values throughout the form are the defaults. The redirect plugin is turned on.

    The form is on a live website but in a test area not available to the public.

    I have tried everything I can think of to get this to work, but nothing makes any difference. Here's a few of the things I've tried:

    [list]
  • I searched and read these forums for info on Redirect problems ... nothing I found helped.

  • I used the link in Chronoforms to "Upgrade SQL and Load Demo Form".

  • I tried to use the Demo Form to redirect to Paypal.

  • I tried the form with and without a dedicated page specified in the General Tab > Form URL's > Redirect URL.

  • I created a new form from scratch with very simple values just to test the redirect.

  • I've turned Debugging ON in the form itself and in the Redirect plugin.
  • [/list]

    Here's the debug info from the redirect plugin:

    
    $params: JParameter Object ( [_raw] => debugging=0 target_url=http:// onsubmit=before_email [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /home/myaccount/public_html/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [debugging] => 1 [target_url] => https://www.paypal.com/cgi-bin/webscr [onsubmit] => before_email ) ) ) [_errors] => Array ( ) ) 
    


    So, to re-cap, the form does get submitted, I get the email, but I'm not getting the redirect to Paypal. Any help would be appreciated!
    Grumpster 29 Dec, 2009
    Got it working.

    The problem was I had not turned on the Redirect Plugin under the Plugin tab.

    If I may make an observation: The design of the plugin ON/OFF page, with all the plugins listed in a one-column table, with the little green circle with a check mark on the right, is a less than an optimal design.

    To me, when I see a green circle with a checkmark in it, that says, to me at least, that the plugin is ON.

    But I see now that is not the case. Fortunately, for me, I did yet another "Redirect Plugin" search on this forum and on about the sixth page of results I learned that I needed to click on the plugin's box in the list until the box's background turned from the color red to the color green ... and when that color change does happen, the green circle with the check mark turns into a red circle with an "X". Now the plugin is ON, but to me, that red "X" makes it appear to be OFF.

    Perhaps I'm alone on this since it obviously doesn't come up very often on this forum, but I think a simple ON / OFF without the colors would be a better way to go. Furthermore, having the plugin settings in one area and the ON/OFF for the plugin in separate places only adds to the confusion.
    GreyHead 29 Dec, 2009
    Hi Grumpster,

    It's come up maybe 20-30 times now - the same bad UI design also exists on the Create Table dialogue.

    Sorry about that, hopefully Max will change it in a future release.

    Bob
    This topic is locked and no more replies can be posted.