Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: SSL and form

SSL and form 16 years 10 months ago #126

  • robertb66
  • robertb66's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I have a shared ssl certificate installed on my site, along with jevenst, DT_register and donate, and I was wondering how I get the form registration page to show up under https. Thanks

Please Log in or Create an account to join the conversation.

SSL and form 16 years 10 months ago #127

  • robertb66
  • robertb66's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I need to go live soon, so if someone can help me answer this question, it would much appreciated.

Please Log in or Create an account to join the conversation.

SSL and form 16 years 9 months ago #128

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Sorry for the delay. The easiest way to open your donation form in SSL is this way: 1) Copy the URL to DT Donate, which would look something like this: http://www.yoursite.com/index.php?optio ... &Itemid=68 2) Now, in the Joomla admin, go to your menu manager and create a new menu item. Instead of creating a component menu link, create a regular "Link-URL" menu item. 3) Paste in your DT Donate url, but change the "http" to "https". Make sure you have the link set to open in the same window. Also, very important - make sure you use the EXACT domain name that is registered to your SSL certificate. For example, if your SSL is registered to www.yoursite.com , then using https://yoursite.com (without the 'www') will not work correctly and will not be secure. 4) Use this new menu item instead of the regular component menu item. Then when someone clicks your donation menu button, the form will open under your secure SSL.

Please Log in or Create an account to join the conversation.

SSL and form 16 years 9 months ago #129

  • robertb66
  • robertb66's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Thanks! ;D

Please Log in or Create an account to join the conversation.

SSL and form 16 years 7 months ago #130

  • cmtrig
  • cmtrig's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
If you want to add SSL to your Event Registration, open Components/com_events/events.html.php and insert this code after the first table: <!-- Beginning of mod for DT Register --> <table width="100%"><tr><td align="center"><a href=" www.yourdomain.com/index.php?option=com_dtregister&eventId= <?php echo $row->id;?>"> Click to register for this event </td></tr></table> <!-- End of mod for DT Register --> This will give you https on each registration.

Please Log in or Create an account to join the conversation.

SSL and form 16 years 7 months ago #131

  • cmtrig
  • cmtrig's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hey everyone, I worked with GoDaddy on the registration system not working with Authorize.net correctly and found out why - The curl statements in the dtregister.php and dtdonate.php have to be changed. This is ONLY if you have GoDaddy Shared Hosting with SSL. The proxy URL for GD is in the code. Here is the code: Find in components/com_dtregister/: //echo "<b>01: Post the transaction (see the code for specific information):</b><br>"; $ch = curl_init($auth_net_url); // URL of gateway for cURL to post to curl_setopt($ch, CURLOPT_HEADER, 0); // set to 0 to eliminate header info from response curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Returns response data instead of TRUE(1) curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim( $fields, "& " )); // use HTTP POST to send form data ### curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // uncomment this line if you get no gateway response. ### $resp = curl_exec($ch); //execute post and get results curl_close ($ch); REPLACE WITH: //echo "<b>01: Post the transaction (see the code for specific information):</b><br>"; $ch = curl_init($auth_net_url); // URL of gateway for cURL to post to curl_setopt($ch, CURLOPT_HEADER, 0); // set to 0 to eliminate header info from response curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Returns response data instead of TRUE(1) //curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY," proxy.shr.secureserver.net:3128 "); //GoDaddy SSL Proxy curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim( $fields, "& " )); // use HTTP POST to send form data ### curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // uncomment this line if you get no gateway response. ### $resp = curl_exec($ch); //execute post and get results curl_close ($ch); You can also so this in Components/com_dt_register/dtdonate.php Now all I need is a way for the system to bypass the Credit Card section if the event is free... Anyone have an answer to THAT?!?! This code should fix anyone who is having this issue, if you are not using godaddy, just comment out the proxy and SSL verifyer statements and see if it helps you. Charlie Trig www.trigenterprises.com

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.288 seconds