我正在使用 php 文件将用户的数据(我从以前的网站形式获得)发送到 PayPal。除“税”字段外的所有作品。
我不知道我是否做错了什么,我的代码是:
// by code: querystring = ?business=blabla&item_name=bla.... (all this works)
if ($country_data['extra_tax'] != '0.00')
$querystring .= "tax=".urlencode($country_data['extra_tax'])."&";
// and more and more code until redirect to paypal
在 IPN 上:
$tax = $_POST['tax'];
但是即使在paypal网站上也不收费,所以税没有达到IPN。必须在我的查询字符串上的请愿书上,但不知道为什么。
我怎么说,其余代码有效,但不征税。
问候和感谢。