这是我提交给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>
问题是,当客户从paypal回来时,他确实回到了成功页面但我没有收回额外的参数......我得到的只是
?auth=AawipXhP8kGL5tRWEYuMZDowOdxbyXhwGGShlkbdAgL1wnIV5jMHw1QImcj0KmiFUyhrU6kw4mfc3fJPJ3leDZQ&form_charset=UTF-8
我错过了什么?
答案 0 :(得分:4)
尝试字段rm(返回方法)。 2 =发布
<input type='hidden' name='rm' value='2'>
比你应该把参数作为POST回来。