osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

VELOCT Direct Mode Module

This is a discussion on VELOCT Direct Mode Module within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; If you are hosting your oscommerce store on a hosting provider who does not allow traffic out on ports 1401 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 08-01-2007, 09:03 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,113
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post VELOCT Direct Mode Module

If you are hosting your oscommerce store on a hosting provider who does not allow traffic out on ports 1401 and/or 1402, consider the following modifications:

// BEGIN PHP_CURL.DLL CODE - Author: Peter Drake - 4/29/03 // Use for Win32 or Unix-type systems with php-curl.dll // Get a CURL handle
$curl_handle = curl_init();

// Tell CURL the URL of the CGI

$URL="https://secure-dm3.ezic.com:443/gw/sas/direct3.1";
curl_setopt ($curl_handle, CURLOPT_VERBOSE, 1); curl_setopt ($curl_handle, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ($curl_handle, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($curl_handle, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt ($curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt ($curl_handle, CURLOPT_URL, $URL); curl_setopt ($curl_handle, CURLOPT_TIMEOUT, 120);

// This section sets various options. See http://www.php.net/manual/en/function.curl-setopt.php
// for more details

curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_POST, 1);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, 0);

// Perform the POST and get the data returned by the server.
$response = curl_exec ($curl_handle) or die ("There has been an error connecting to VELOCT.");

// Close the CURL handle
curl_close ($curl_handle);

//END PUP_CURL.DLL CODE


More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
VELOCT Direct Mode Module michael_s New osCommerce Contributions 0 06-07-2007 12:13 PM
epayment romania IPN mode michael_s New osCommerce Contributions 0 03-21-2007 05:01 AM
Direct Deposit Payment module learoypc osCMax v1.7 General Mods Discussion 1 03-06-2005 09:02 PM
Admin not going into security mode goldie osCommerce 2.2 Modification Help 4 11-16-2003 12:32 PM
Safe Mode OFF !!! Help Please oliverm osCommerce 2.2 Installation Help 8 03-07-2003 01:19 AM


All times are GMT -8. The time now is 08:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax