HOME


Mini Shell 1.0
DIR: /var/tmp/
Upload File :
Current File : //var/tmp/phpKGzejw
home/islapiiu/sites/pramudi/handler.php000064400000001141150770113650014233 0ustar00<?php namespace Listener;

require('PaypalIPN.php');

use PaypalIPN;

$ipn = new PaypalIPN();

// Use the sandbox endpoint during testing.
$ipn->useSandbox();
$verified = $ipn->verifyIPN();
var_dump(111);
if ($verified) {
    echo "Payment Success";
    /*
     * Process IPN
     * A list of variables is available here:
     * https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNandPDTVariables/
     */
} else {
    echo "error";
}

// Reply with an empty 200 response to indicate to paypal the IPN was received correctly.
header("HTTP/1.1 200 OK");