这是来自 PayPal 支付页面:
您的订单摘要 说明
Current purchase$61.00
Item total $61.00
Tax $5.49
Total $66.49 USD
“描述”字段是空的,唯一显示的是货币价值,而不是交易、用户名或任何内容的任何描述。
我正在通过名称值对发送交易。
"USER=".$this->user
. "&VENDOR=".$this->vendor;
. "&PARTNER=".$this->partner
. "&PWD=".$this->pwd;
. "&TRXTYPE=" . $this->trxtype . "&CURRENCY=" . $this->currency
. "&TENDER=C" //C = Credit Card
. "&AMT=" . ($data['price'] + $data['shipping'] + $data['tax'])
. "&ITEMAMT=". $data['price']
. "&SHIPPINGAMT=". $data['shipping']
. "&TAXAMT=". $data['tax']
. "&CUSTOM=". urlencode("RESEARCH POSTER FROM 1: ".$data['desc'])
. "&DESC=". urlencode("RESEARCH POSTER FROM 2: ".$data['desc'])
. "&L_DESC0=". urlencode("RESEARCH POSTER FROM 4: ".$data['desc'])
. "&L_DESC1=". urlencode("RESEARCH POSTER FROM 5: ".$data['desc'])
. "&ITEMNAME=". urlencode("RESEARCH POSTER FROM 6: ".$data['desc'])
. "&NAME=". urlencode("RESEARCH POSTER FROM 7: ".$data['desc'])
. "&L_NAME0=". urlencode("RESEARCH POSTER FROM 3: ".$data['desc'])
. "&LASTNAME=". urlencode($data['lastname'])
. "&FIRSTNAME=". urlencode($data['firstname'])
. "&EMAIL=". $data['email']
. "&VERBOSITY=" . $this->verbosity;
不幸的是,订单摘要页面完全没有细节。我无法让它显示任何描述或项目名称。
我应该使用的名称值对变量是什么?
我已经尝试过,DESC、ITEMNAME、L_NAME0、L_NAME1、NAME、L_DESC0 等。但它们都不起作用。