예제 #1
0
/**
 * 将用户重定向到付款网站,之后的支付流程在付款网站后完成
 * 
 * @param $oid	订单编号
 */
function order_redirect($oid)
{
    return paypal_redirect($oid);
}
예제 #2
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
</script>
<head profile="http://gmpg.org/xfn/11">
<title>Redirecting to PayPal . . .</title>
<link rel="stylesheet" href="<?php 
echo get_option('home') . "/wp-content/plugins/ribcage/templates/css/redirect.css";
?>
" type="text/css" media="screen" />
</head>

<body onLoad="document.paypal.submit();">

<div class="logo">
	<h1><span>Records on Ribs</span></h1>
</div>

<div class="loading">
	<span>Redirecting . . .</span>
</div>
<?php 
paypal_redirect();
?>
</body>
</html>