为什么我的运费已添加但未显示在Paypal嵌入式窗口的交易详情中

时间:2012-09-20 08:18:42

标签: paypal shipping paypal-adaptive-payments

我正在尝试使用Paypal自适应付款,让用户在嵌入式窗口中购买产品。问题是当我进入交易细节步骤(在paypal嵌入式窗口内)时,我看到两行如下:

productname $ x.xx

(在这里为空)$ 1.00

这里的“空白”应该是“运费”。我该如何设置?价格是否正确但我的客户不会将其理解为运费?

这就是我构建setPaymentOptions的方式:

            $optStr = "requestEnvelope.errorLanguage=en_US";
            $optStr .= "&receiverOptions[0].receiver.email=$receiverEmail";
            $optStr .= "&receiverOptions[0].invoiceData.item[0].name={$data['item_name']}";
            $optStr .= "&receiverOptions[0].invoiceData.item[0].price=$itemPrice";
            $optStr .= "&receiverOptions[0].invoiceData.item[0].itemCount=1";
            $optStr .= "&receiverOptions[0].invoiceData.item[0].itemPrice=$itemPrice";
            $optStr .= "&receiverOptions[0].invoiceData.totalShipping={$data['item_shipping_fee']}";
            $optStr .= "&senderOptions.requireShippingAddressSelection=true";
            $optStr .= "&payKey={$data['paykey']}";

and actionType:

$payStr = "actionType=CREATE&cancelUrl=$cancelUrl&currencyCode=USD&returnUrl=$returnUrl&requestEnvelope.errorLanguage=en_US&receiverList.receiver(0).amount=$receiverAmount&receiverList.receiver(0).email=$receiverEmail";

任何想法?谢谢!

0 个答案:

没有答案