简体   繁体   English

贝宝返回和带有参数的IPN网址

[英]paypal return and IPN url with parameters

here is the form i am submitting for a recurring payment to 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='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>

problem is when the customer comes back from paypal he does get back to the success page but im not getting back the extra parameters ... all i get is 问题是,当客户从贝宝(Paypal)回来时,他确实返回了成功页面,但是我没有得到额外的参数...我得到的只是

?auth=AawipXhP8kGL5tRWEYuMZDowOdxbyXhwGGShlkbdAgL1wnIV5jMHw1QImcj0KmiFUyhrU6kw4mfc3fJPJ3leDZQ&form_charset=UTF-8

what am i missing ? 我想念什么?

try the field rm (return method). 尝试字段rm(返回方法)。 2 = post 2 =发布

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

Than you should get back the parameters as POST. 比起将参数取回POST而言。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM