小编use*_*686的帖子

PayPal IPN不再工作了

从昨天起,PayPal IPN工作正常,但今天我无法接收任何IPN.我检查了MySQL,检查了IPN Adresse,一切都很好.我以为PayPal在他们的IPN服务器上做了一些改变,电话里的女人告诉我没有.有点奇怪.

那么有人可以检查ipn.php和add.php吗?

添加PHP

<?
define('BASEPATH', true);
require_once("../../config.php");
if(!$is_online){
    redirect('../../../index.php');
    exit;
}

$s_host = parse_url($site['site_url']);

if($_GET['cash'] != '' && is_numeric($_GET['cash'])){
    $cash = ($_GET['cash'] < 1 ? 1 : $_GET['cash']);
    $cash = number_format($cash, 2, '.', '');
}else{
    redirect('../../../index.php');
    exit;
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Redirecting...</title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<style>body{background: #fff;font: 13px Trebuchet MS, Arial, Helvetica, Sans-Serif;color: #333;line-height: 160%;margin: 0;padding: 0;text-align: center;}h1{font-size: 200%;font-weight: normal}.centerdiv{position: absolute;top: 50%; left: 50%; width: 340px; height: 200px;margin-top: -100px; margin-left: -160px;}</style>
<script type="text/javascript">
    setTimeout('document.paypalform.submit()',1000);
</script>
</head>
<body> …
Run Code Online (Sandbox Code Playgroud)

php post paypal paypal-ipn

4
推荐指数
1
解决办法
3972
查看次数

标签 统计

paypal ×1

paypal-ipn ×1

php ×1

post ×1