Donation Page

June 20th, 2015

‘amount’=>$Donation,
‘currency_code’=>’USD’,
‘item_name’=>”Darul Islah Donation”,
‘item_number’=>$purpose,
‘thanks_page’=>”http://”.$_SERVER[‘HTTP_HOST’].’paypal/thank.php’,
‘notify_url’=>”http://”.$_SERVER[‘HTTP_HOST’].’paypal/ipn.php’,
‘cancel_url’=>”http://”.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’],
‘paypal_mode’=>true,
);

?>

Darul Islah Donations

Purpose:

Donation Amount: value=”10″>$10.00
value=”20″>$20.00
value=”30″>$30.00
value=”50″>$50.00
>Other Amount $ 




 

//print infotutsPaypal($data);
}

function infotutsPaypal( $data,$Donation,$purpose) {
define( ‘SSL_URL’, ‘https://www.paypal.com/cgi-bin/webscr’ );
define( ‘SSL_SAND_URL’, ‘https://www.sandbox.paypal.com/cgi-bin/webscr’ );

$action = ”;
//Is this a test transaction?
$action = ($data[‘paypal_mode’]) ? SSL_SAND_URL : SSL_URL;

$form = ”;

$form .= ‘

‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘‘;
$form .= ‘

‘;
return $form;
}
?>

Comments are closed.