Forums

Redirect Plugin does NOT work BUT Submit URL does

biblefusion 02 Oct, 2010
Hi All,

after many hours, I cannot get the redirect plugin to work properly. I need you help please:

Setup:

Joomla 1.5.20
Chrono Forms 3.1RC5.5

1.) Redirect plugin does a.) allow the form data to be emailed b.) does redirect to external URL c.) but it does not seem to post the form data correctly. In my case, the error is terminal id not valid (credit card gateway terminal id). This is however not the case, the information supplied is indeed correct. The fields have been 'mapped' and the values are correct;

2.) Entering the URL into the Submit URL field under the General tab, does however post the form data correctly to the URL supplied and everything works as expected. The only problem with this, is that emails cannot be received, because Chrono Forms does not see any data it is posted to the URL before it reaches it.

I am currently using the 2.) option, but would really like to have the email sending to work. I assume if the redirect plugin can be tweaked in a way it would be able to resolve this issue, but I do not know how..

Thanks in advance!

Your assistance will be much appreciated!
GreyHead 03 Oct, 2010
Hi biblefusion,

Sorry but there isn't enough information here to help you much.

The redirect plug-in works pretty much 'as advertised' (there are a few limitations around array values if I recall correctly). Please turn Debug on for the form and the Plug-in and see exactly what is in the Redirect url, with that info and a screen-shot of the plug-in configuration we can probably work out what is happening.

Bob
biblefusion 03 Oct, 2010
Hi Bob,

great component and excellent support...a winning combination, thanks!

Please see attachments...

Screenshot 2 - Redirect plugin
Screenshot 3 - Top part of screen after form input was collected and submit button pressed
Screenshot 4 - Button part of screen after form input was collected and submit button pressed (middle block email content not inlcuded)
Screenshot 5 - Content of redirect URL, when test is pressed at the bottom

Please let me know if you require more information.

Thanks indeed for you help!
Peter
GreyHead 03 Oct, 2010
Hi Peter,

Hmmm . . . not obvious without the NetCash docs.

It may be that they are only set up to take data from Post and not from the URL Get variables. There's also an error message about cookies which is a bit odd.

Do you need to pass the User to Netcash to complete the payment? Presumably you do?

Bob
biblefusion 03 Oct, 2010
Hi Bob,

I do apologize for the delay in my response. Please find attached, screenshots with NetCash gateway setup info, that could be of assistance. To answer you question:

The only necessary input fields that should be passed to NetCash is the hidden fields + Transaction ID that should be unique and the amount. The name, surname and email address is not important to process the credit card transaction, that would only be important for our records.

Please let me know if you require more information...

You help is appreciated, thanks indeed!
Peter
GreyHead 04 Oct, 2010
Hi Peter,

I think the important piece of info there is "The payment is sent to Netcash via a form POST to a form that is external to your website." The ReDirect Plugin sends with a GET, not a POST.

The CURL plugin will send with a POST - but keeps usually keeps the user on your site.

It's not possible to ReDirect a POST in quite the same way. It may be possible to create an auto-submitting form in the OnSubmit After box. That's a form including a script that submits it on load.

Bob
biblefusion 04 Oct, 2010
Hi Bob,

that makes sense. How would one then go about such a script, to include 'form input' data (in this case transaction ID and amount) as well as predefined form input to be submitted?

Thx
Peter
GreyHead 05 Oct, 2010
Hi Peter,

There's an example here I found with a little Googling.

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