Forums

Submit URL and Storing Data

bedivine 10 Oct, 2008
I have a site that I am linking to securepay to process my donations. Is there any way or hack to get this to work, will it will store the data on my form and send the form data to the submit url?

I really need this to work...
GreyHead 10 Oct, 2008
Hi bedevine,

I'm sure that it can be made to work - though I don't remember anyone using SecurePay before (have you searched the forums here?)

I'd start with the Authorise.net plugin and clone that, then modify it to work with SecurePay.

Bob
Max_admin 10 Oct, 2008
if you are using CURL to connect to securepay then attached is a general purpose Curl plugin for Chronoforms, extract and copy this file to the components/com_chronocontact/plugins/ then configure it from the forms management area per form

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bedivine 10 Oct, 2008
Thank you so much for the CURL. How do I fill out the fields though?

example: I have a field for: NAME Field: What do I put in the box?

thanks,

Ryan
Max_admin 10 Oct, 2008
It depends on your securepay data needed and your form fields names, tell me what does securepay needs and whats the url for it and post here a screenshot for the CURL config page and I will try to give some hints!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bedivine 10 Oct, 2008
Ok, I got it working but the user is getting this warning message when hitting submit. (The form is on an https page):

This form will be sent in a way that is not secure. Are you sure you want to send it?

How can I make it secure. I am sending the data to a https site.

Thanks,

Ryan
Max_admin 10 Oct, 2008
Check the action url of the form, is it http:// or https:// ? do this by viewing the page source.

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
wmuckell 08 Feb, 2011
Been looking at the CURL plugin you mention here.

I am going to try and use this, but have some issues with the fieldname and setup not matching the CURL output required.

In somecases I have two fields in my form and the output requires one field with a specific value depending on one of other of the two field. I am assuming I can do this in the "Extra Code" bit, but I am uncertain how to do the logic if statement. do you have any examples to work from.
GreyHead 08 Feb, 2011
Hi wmuckell,

It's pretty simple PHP but rather than me write something vague please give me the actual details of one example and I'll post the code for that.

Bob
wmuckell 09 Feb, 2011
[attachment=2]curl1.jpg[/attachment]

[attachment=1]curl2.jpg[/attachment]

[attachment=0]curl3.jpg[/attachment]

Took some screenshots instead. In the bottom of the Extra fields, I set the receiving API fieldname to be $fulldesc. Not sure that is correct.

I also get this message when I go into the CURL plugin for the form.

$params: JParameter Object ( [_raw] => debugging=0 target_url=http:// header_in_response=0 onsubmit=before_email [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /home/compare/public_html/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [debugging] => 1 [target_url] => https://*******************************8888 [header_in_response] => 1 [onsubmit] => before_email ) ) ) [_errors] => Array ( ) )


I have taken out sensitive data for obvious reasons.
This topic is locked and no more replies can be posted.