ZenCart_Documentation  1.5.0
http://www.collinsharper.com
C:/xampp/htdocs/zen-cart/extras/ipncheck.php File Reference

Go to the source code of this file.

Namespaces

namespace  utility

Enumerations

enum  ENABLE_SSL
enum  MODULE_PAYMENT_PAYPAL_HANDLER

Functions

 doPayPalIPNFsockopenPostback ($web, $postback)
 doPayPalIPNCurlPostback ($web, $vars, $verboseMode=FALSE, $headerMode=FALSE)

Variables

if(!function_exists('curl_setopt_array')) $verboseMode = (isset($_GET['verbose']) ? TRUE : FALSE)
 $headerMode = (isset($_GET['headers']) ? TRUE : FALSE)
 $testBoth = (isset($_GET['both']) && $_GET['both'] == '0') ? FALSE : TRUE
 $checkNoChex = (isset($_GET['nochex'])) ? TRUE : FALSE
 $testSandbox = (isset($_GET['sandbox'])) ? TRUE : FALSE
 $_POST = array()
 $_POST ['ipn_mode'] = 'communication_test'
 $defaultMethod = $altMethod = ''
 $info = ''
 $postdata = ''
 $postback = ''
 $postback_array = array()
 $postback_array ['cmd'] = "_notify-validate"
if($postdata== '=&') $postdata_array = $_POST
 $scheme = 'https://'
 $web = parse_url($scheme . MODULE_PAYMENT_PAYPAL_HANDLER)
 $data = ''

Enumeration Type Documentation

enum ENABLE_SSL

Definition at line 44 of file ipncheck.php.

Definition at line 45 of file ipncheck.php.


Function Documentation

doPayPalIPNCurlPostback ( web,
vars,
verboseMode = FALSE,
headerMode = FALSE 
)

Definition at line 185 of file ipncheck.php.

doPayPalIPNFsockopenPostback ( web,
postback 
)

Definition at line 117 of file ipncheck.php.


Variable Documentation

$_POST = array()

Definition at line 38 of file ipncheck.php.

$_POST['ipn_mode'] = 'communication_test'

Definition at line 42 of file ipncheck.php.

$checkNoChex = (isset($_GET['nochex'])) ? TRUE : FALSE

Definition at line 35 of file ipncheck.php.

$data = ''

Definition at line 89 of file ipncheck.php.

$defaultMethod = $altMethod = ''

Definition at line 50 of file ipncheck.php.

$headerMode = (isset($_GET['headers']) ? TRUE : FALSE)

Definition at line 33 of file ipncheck.php.

$info = ''

Definition at line 51 of file ipncheck.php.

foreach ($_POST as $key=> $value) $postback = ''

Definition at line 53 of file ipncheck.php.

$postback_array = array()

Definition at line 54 of file ipncheck.php.

$postback_array['cmd'] = "_notify-validate"

Definition at line 63 of file ipncheck.php.

$postdata = ''

Definition at line 52 of file ipncheck.php.

if ($postdata== '=&') $postdata_array = $_POST

Definition at line 67 of file ipncheck.php.

$scheme = 'https://'

Definition at line 73 of file ipncheck.php.

$testBoth = (isset($_GET['both']) && $_GET['both'] == '0') ? FALSE : TRUE

Definition at line 34 of file ipncheck.php.

$testSandbox = (isset($_GET['sandbox'])) ? TRUE : FALSE

Definition at line 36 of file ipncheck.php.

if (!function_exists('curl_setopt_array')) $verboseMode = (isset($_GET['verbose']) ? TRUE : FALSE)

Definition at line 32 of file ipncheck.php.

$web = parse_url($scheme . MODULE_PAYMENT_PAYPAL_HANDLER)

Definition at line 75 of file ipncheck.php.

 All Data Structures Namespaces Files Functions Variables Enumerations