‘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
//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 .= ‘
‘;
return $form;
}
?>