doucao1888 2013-01-08 15:12
浏览 158
已采纳

paypal返回和带参数的IPN网址

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

?auth=AawipXhP8kGL5tRWEYuMZDowOdxbyXhwGGShlkbdAgL1wnIV5jMHw1QImcj0KmiFUyhrU6kw4mfc3fJPJ3leDZQ&form_charset=UTF-8

what am i missing ?

  • 写回答

1条回答 默认 最新

  • dongzhi5846 2013-01-08 15:17
    关注

    try the field rm (return method). 2 = post

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

    Than you should get back the parameters as POST.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 springboot 3.0 实现Security 6.x版本集成
  • ¥15 PHP-8.1 镜像无法用dockerfile里的CMD命令启动 只能进入容器启动,如何解决?(操作系统-ubuntu)
  • ¥15 请帮我解决一下下面六个代码
  • ¥15 关于资源监视工具的e-care有知道的嘛
  • ¥35 MIMO天线稀疏阵列排布问题
  • ¥60 用visual studio编写程序,利用间接平差求解水准网
  • ¥15 Llama如何调用shell或者Python
  • ¥20 谁能帮我挨个解读这个php语言编的代码什么意思?
  • ¥15 win10权限管理,限制普通用户使用删除功能
  • ¥15 minnio内存占用过大,内存没被回收(Windows环境)