Php 带参数的paypal返回和IPN url

Php 带参数的paypal返回和IPN url,php,paypal,Php,Paypal,这是我向paypal提交的定期付款表单 <form name='_xclick' id='_xclick' action='https://www.sandbox.paypal.com/cgi-bin/webscr' method='post'> <input type='hidden' name='cmd' value='_xclick-subscriptions'> <input type='hidden' name='busi

这是我向paypal提交的定期付款表单

 <form name='_xclick' id='_xclick' action='https://www.sandbox.paypal.com/cgi-bin/webscr' method='post'>
        <input type='hidden' name='cmd' value='_xclick-subscriptions'>
        <input type='hidden' name='business' value='sandboxusername@gmail.com'>
        <input type='hidden' name='currency_code' value='EUR'>
        <input type='hidden' name='no_shipping' value='1'>
        <input type='hidden' name='a3' value='5.00'>
        <input type='hidden' name='p3' value='1'>
        <input type='hidden' name='t3' value='M'>
        <input type='hidden' name='custom' value='customerId=F5C151'>
        <input type='hidden' name='src' value='1'>
        <input type='hidden' name='sra' value='1'>
        <input type='hidden' name='item_name' value='Lev haolam package'>
        <input type='hidden' name='cancel_return' value='mydomainsuccess?pplstatus=0&customerId=F5C151'>
        <input type='hidden' name='return' value='mydomainsuccess?pplstatus=1&customerId=F5C151'>
        <input type='hidden' name='notify_url' value='mydomainsuccess?pplstatus=1&customerId=F5C151'>
        </form> <form name='_xclick' id='_xclick' action='https://www.sandbox.paypal.com/cgi-bin/webscr' method='post'>
        </form>
我缺少什么?

请尝试rm字段(返回方法)。2=员额

<input type='hidden' name='rm' value='2'>

然后,您应该以POST的形式返回参数。

请尝试rm字段(返回方法)。2=员额

<input type='hidden' name='rm' value='2'>


然后您应该以POST的形式返回参数。

是的,要验证ipn,您必须通过套接字将收到的参数+
&cmd=\u notify-validate
发送回paypal。然后,如果响应字符串包含
VERIFIED
,则必须对其进行分析。我在我的MVC框架中有一个实现,我如何识别IPN调用?它是字段
notify\uURL
。使用另一个url作为
return
。谢谢,成功购买后,当用户返回到我的站点时,我的脚本也会获得$\u POST参数!!!是的,要验证ipn,您必须通过套接字将收到的参数+
&cmd=\u notify-validate
发送回paypal。然后,如果响应字符串包含
VERIFIED
,则必须对其进行分析。我在我的MVC框架中有一个实现,我如何识别IPN调用?它是字段
notify\uURL
。使用另一个url作为
return
。谢谢,成功购买后,当用户返回到我的站点时,我的脚本也会获得$\u POST参数!!!