PayPal IPN已停止返回验证通知


PayPal IPN Has Stopped Returning Verified Notifications

晚上好,

我在我的网站上有一个paypal IPN,它已经稳定地工作了2年以上,但最近它只是停止工作,我个人不知道为什么。

如果我要访问paypal_ip .php文件"http://www.top-proxies.co.uk/modules/selected_proxy/paypal_ipn.php"我收到一封来自paypal的电子邮件,上面写着

UKNOWN

失败的项目:
金额及状态:(费用:)日期:
时间长度:
网站的URL:
联系电子邮件:
时候Id:
来自:():

表示它在某些方面仍在工作。

然而,当有人在我的网站上完成购买时,他们支付了费用,但没有IPN验证电子邮件通过跟踪,因此我的网站不会自动列出广告位置。

有人有什么建议吗?最近没有更改代码,那么paypal最近是否更新了他们的系统或类似的东西?

添加附加信息:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <div class="form-group">   
            <input type="hidden" name="cmd" value="_xclick">
            <input type="hidden" name="business" value="<?php echo $paypalemail; ?>">
            <input type="hidden" name="lc" value="IN">
            <input type="hidden" name="item_name" value="<?php echo $sitename; ?> Advertise">
            <input type="hidden" name="item_number" value="Proxy Advertisement"> 
            <input type="hidden" name="button_subtype" value="services">
            <input type="hidden" name="currency_code" value="USD">
            <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
            <input type="hidden" name="image_url" value="<?php echo $sitelogo; ?>">
            <input type="hidden" name="return" value="<?php echo $scriptroot; ?>success.php">
            <input type="hidden" name="cancel_return" value="<?php echo $scriptroot; ?>failed.php">
            <input type="hidden" name="notify_url" value="<?php echo $scriptroot; ?>modules/selected_proxy/paypal_ipn.php">
            <br>
            <label>Advertisement Plan:</label>
            <br>
            <input class="form-control" type="hidden" name="on0" value="Length of Time">
            <select class="form-control" name="os0" id="os0" onchange="fun()">
                <?php
                for ($j = 0; $j < count($selected_plans); $j++) {
                    echo '<option  class="form-control" value="' . $selected_plans[$j][2] . ' Days">' . $selected_plans[$j][1] . '</option>';
                }
                ?>
            </select>
            <br>
            <label>Proxy Site URL (with <strong>http://</strong> and <strong>www</strong>):</label>
            <br>
            <input type="hidden" name="on1" value="Site URL">
            <input class="form-control" type="text" name="os1" maxlength="200">
            <br>
            <label>Contact Email:</label>
            <input type="hidden" name="on2" value="Contact Email">
            <br>
            <input class="form-control" type="text" name="os2" maxlength="200">
            <input type="hidden" name="currency_code" value="USD">
            <?php
            for ($j = 0; $j < count($selected_plans); $j++) {
                echo '<input type="hidden" name="option_select' . $j . '" value="' . $selected_plans[$j][2] . ' Days">
                <input type="hidden" name="option_amount' . $j . '" value="' . $selected_plans[$j][3] . '">
                ';
            }
            ?>
            <br>
            <label>Pay Via Paypal:</label>
            <br>
            <input type="hidden" name="option_index" value="0">
            <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="PayPal � The safer, easier way to pay online."><br>
            <input type="image" src="https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PP.gif" border="0" name="submit" alt="PayPal � The safer, easier way to pay online.">
            <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
        </div>
    </form>

在重新访问我的代码并仔细检查没有任何更改后,似乎问题出在PayPal方面!不知怎么的,我的PayPal IPN设置在我的商业账户上被关闭(禁用)了。在重新输入我的IPN地址进行验证和测试我的付款后,我从PayPal得到了正确的回复,一切都恢复正常:D

找到你的paypal IPN设置,你去"我的帐户">"个人资料">"我的销售偏好",然后选择更新IPN设置从该页。

祝你好运,希望这能帮助到别人!

欢呼,蚂蚁。