我正在使用带有托管结帐页面 (iframe) 的Paypal Payments Advanced 。这使客户可以选择单击“使用贝宝付款”(按钮),这是贝宝的快速结帐或使用信用卡付款。一切似乎都很好,除了我在使用 NVP API 传递参数时无法显示单个订单项。相反,我只看到一个总量(见下图)。
而且我也相信这意味着订单项根本没有发送(即使我使用信用卡付款),因为当我登录贝宝查看交易详细信息时,我没有看到任何订单项。
以下是我目前使用的 NVP 参数:
"PARTNER" => "PayPal",
"VENDOR" => "company_here",
"USER" => "user_here",
"PWD" => "password_here",
"TRXTYPE" => "S",
"AMT" => "2.16",
"ITEMAMT" => "2.00",
"TAXAMT" => "0.16",
"L_NAME0" => "Test Product 1",
"L_DESC0" => "Test Product Description",
"L_AMT0" => "1.00",
"L_TAXAMT0"=> "0.08",
"L_QTY0" => "1",
"L_NAME1" => "Test Product 2",
"L_DESC1" => "Test Product 2 description",
"L_AMT1" => "1.00",
"L_TAXAMT1"=> "0.08",
"L_QTY1" => "1",
"CUSTOM" => "Custom Text Here",
"INVNUM" => "Invoice12345",
"CURRENCY" => "USD",
"CREATESECURETOKEN" => "Y",
"SECURETOKENID" => "token_here",
任何想法我做错了什么?