English 中文(简体)
Paypal IPN根本没有响应
原标题:Paypal IPN not responding at all

有人有这个问题吗?突然贝宝没有将POST数据返回到notify_url。数组完全为空,当通过新的贝宝结账系统付款时会发生这种情况。


以下是付款后的最后一页。当我单击继续预订时,它应该重定向到notify_url,其中包含用于验证的POST数据和其他数据,但数据是一个空数组。

下面列出了我的请求代码。有人能看看它,告诉我是缺少了一些变量还是我做错了什么吗?

<form method="post" name="paypal_form" action="http://www.sandbox.paypal.com/cgi-bin/webscr">

    <input type="hidden" name="business" value="ayaz.a_1286483626_biz@gmail.com" />
    <input type="hidden" name="cmd" value="_xclick" />
    <!-- the next three need to be created -->    
    <input type="hidden" name="return" value="https://system1.smanager.net/SM/lib/booking_system/response.php" />
    <input type="hidden" name="cancel_return" value="https://system1.smanager.net/SM/lib/booking_system/paypal_ipn.php?cancelled=true" />
    <input type="hidden" name="notify_url" value="https://system1.smanager.net/SM/lib/booking_system/response.php" />
    <input type="hidden" name="rm" value="2" />
    <input type="hidden" name="currency_code" value="USD" />

    <input type="hidden" name="lc" value="US" />
    <input type="hidden" name="bn" value="toolkit-php" />
    <input type="hidden" name="cbt" value="Continue Back to Booking System" />

    <!-- Payment Page Information -->
    <input type="hidden" name="no_shipping" value="" />
    <input type="hidden" name="no_note" value="1" />
    <input type="hidden" name="cn" value="Comments" />
    <input type="hidden" name="cs" value="" />


    <!-- Product Information -->
    <input type="hidden" name="item_name" value="TestProduct" />
    <input type="hidden" name="amount" value="10.23" />
    <input type="hidden" name="quantity" value="1" />
    <input type="hidden" name="item_number" value="1234" />
    <input type="hidden" name="undefined_quantity" value="" />
    <input type="hidden" name="on0" value="" />
    <input type="hidden" name="os0" value="" />
    <input type="hidden" name="on1" value="" />

    <input type="hidden" name="os1" value="" />

    <!-- Shipping and Misc Information -->
    <input type="hidden" name="shipping" value="0.0" />
    <input type="hidden" name="shipping2" value="" />
    <input type="hidden" name="handling" value="" />
    <input type="hidden" name="tax" value="6" />
    <input type="hidden" name="custom" value="somedata" />
    <input type="hidden" name="invoice" value="" />

    <!-- Customer Information -->

    <input type="hidden" name="first_name" value="ayaz" />
    <input type="hidden" name="last_name" value="alavi" />
    <input type="hidden" name="address1" value="Address" />
    <input type="hidden" name="address2" value="" />
    <input type="hidden" name="city" value="" />
    <input type="hidden" name="state" value="abc" />
    <input type="hidden" name="zip" value="" />
    <input type="hidden" name="email" value="ayaz.a_1286483582_per@gmail.com" />
    <input type="hidden" name="night_phone_a" value="" />

    <input type="hidden" name="night_phone_b" value="" />
    <input type="hidden" name="night_phone_c" value="" />

</form>
</body>

谢谢

问题回答

我也面临同样的问题。

请在您的业务帐户中设置以下设置。

网站内支付首选项

=>;自动返回:打开

=>;设置返回URL

=>;支付数据传输:打开。

请试试这个,这可能会对你有所帮助。

一切都好。

汉字





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签