Paypal Express CheckOut隐藏运送信息

时间:2014-03-11 21:37:35

标签: php paypal paypal-ipn shipping express-checkout

我正在尝试使用Paypal快速结账,我正在向API页面发送所有内容,但我们的要求有点奇怪,让我在数字中解释一下:

Service A price = $10
qty             = 1
--------------------
Subtotal        = $15 **(added $5 shipping to the subtotal)**
Tax             = $2
================
Total           = $17

While the default is where I was sending the price breakdown to Paypal gateway which was:

Service A price = $10
qty             = 1
--------------------
Subtotal        = $10
Shipping        = $5
Tax             = $2
=================
Total           = $17

每当我检查 PAYMENTINFO_0_AMT 时,我从paypal收到此错误回复:

  **PayPal response:**
    TIMESTAMP -> 2014-03-11T21:34:36Z
    L_ERRORCODE0 -> 10413
    L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.
    L_LONGMESSAGE0 -> The totals of the cart item amounts do not match order amounts.
    L_SEVERITYCODE0 -> Error

请帮助我发送小计并附上运费,而不会在Payapl付款页面向用户显示送货行。

谢谢,

0 个答案:

没有答案