0

这是我提交的用于向贝宝定期付款的表格

 <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>

问题是当客户从贝宝回来时,他确实回到了成功页面,但我没有取回额外的参数......我得到的只是

?auth=AawipXhP8kGL5tRWEYuMZDowOdxbyXhwGGShlkbdAgL1wnIV5jMHw1QImcj0KmiFUyhrU6kw4mfc3fJPJ3leDZQ&form_charset=UTF-8

我错过了什么?

4

1 回答 1

4

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

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

Than you should get back the parameters as POST.

于 2013-01-08T15:17:22.100 回答