[英]Why is Paypal displaying SUCCESS and $_POST variables Paypal's site instead of returning to my return_url
Please help me. 请帮我。 I'm at a total loss. 我完全不知所措。 After more than 2 days of Googling everything I can think of, I still have no answers. 经过2天的谷歌搜索我能想到的一切之后,我仍然没有答案。 This DID work in the Sandbox. 此DID在沙盒中工作。 My code for sending the tx and token to Paypal. 我的代码,用于将tx和令牌发送到Paypal。
<form name='verification' action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='at' value='$atoken' />
<input type='hidden' name='tx' value='$tx' />
<input type='hidden' name='rm' value='2' />
<input type='hidden' name='cmd' value='_notify-synch' />");
print("<input type='hidden' name='return' value='$returnUrl' />");
print("<input type='submit' name='submit' value='PDT'>");
print("</form>");
The variable for return url is return_url
not return
. return url的变量是return_url
not return
。 It should also be an account in your Paypal account. 它也应该是您的Paypal帐户中的一个帐户。
your amount and tax variables are not being parsed 您的金额和税收变量未解析
<input type='hidden' name='at' value='<?=$atoken?>' />
<input type='hidden' name='tx' value='<?=$tx?>' />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.