2011-09-15 34 views
3

我此刻爲客戶提供可供選擇的付款方式在網站上設置了貝寶。一般來說,它工作正常;我可以通過PayPal的網站下單,顯示正確的信息,一切正常。當用戶對訂單應用折扣時,情況仍然正常,完全沒有問題。寶商品打折到免費,航運仍然要

當用戶申請的全部訂單價值的折扣(即訂單是£20,他們有20£掀起了優惠碼),我得到的錯誤「項目總是無效的。」從貝寶回來。發送的費用爲0英鎊,發送的費用爲5英鎊。

首先,是有什麼問題我送穿過田野,如果是這樣,有什麼不對? :)如果您需要更多信息,請隨時詢問。

乾杯。

樣品快速結帳領域:

Array 
(
    [METHOD] => SetExpressCheckout 
    [RETURNURL] => /snip/ 
    [CANCELURL] => /snip/ 
    [NOTIFYURL] => 
    [AMT] => 5.00 
    [DESC] => 
    [CURRENCYCODE] => GBP 
    [MAXAMT] => 
    [USERACTION] => commit 
    [INVNUM] => 
    [ADDROVERRIDE] => 0 
    [SHIPTONAME] => 
    [SHIPTOSTREET] => 
    [SHIPTOSTREET2] => 
    [SHIPTOCITY] => 
    [SHIPTOSTATE] => 
    [SHIPTOZIP] => 
    [SHIPTOCOUNTRYCODE] => 
    [LOCALECODE] => GB 
    [PAGESTYLE] => 
    [HDRIMG] => 
    [BUTTONSOURCE] => /snip/ 
    [L_SHIPPINGOPTIONISDEFAULT0] => true 
    [L_SHIPPINGOPTIONNAME0] => Royal Mail Tracked Next Day Ref:/snip (int)/ 
    [L_SHIPPINGOPTIONLABEL0] => 
    [L_SHIPPINGOPTIONAMOUNT0] => 5.00 
    [L_SHIPPINGOPTIONISDEFAULT1] => false 
    [L_SHIPPINGOPTIONNAME1] => Interlink Express Next Day Delivery (Ord Ref:/snip (int)/ 
    [L_SHIPPINGOPTIONLABEL1] => 
    [L_SHIPPINGOPTIONAMOUNT1] => 7.00 
    [L_SHIPPINGOPTIONISDEFAULT2] => false 
    [L_SHIPPINGOPTIONNAME2] => Collect In Store Ref:/snip (int)/ 
    [L_SHIPPINGOPTIONLABEL2] => 
    [L_SHIPPINGOPTIONAMOUNT2] => 0.00 
    [L_NAME0] => /snip/ 
    [L_NUMBER0] => /snip (item id)/ 
    [L_DESC0] => 
    [L_AMT0] => 8.33 
    [L_TAXAMT0] => 1.67 
    [L_QTY0] => 1 
    [L_NAME1] => /snip/ 
    [L_NUMBER1] => /snip (item id)/ 
    [L_DESC1] => 
    [L_AMT1] => 8.33 
    [L_TAXAMT1] => 1.67 
    [L_QTY1] => 1 
    [L_AMT2] => -16.66 
    [L_TAXAMT2] => -3.34 
    [L_NAME2] => /snip/ 
    [L_DESC2] => /snip/ 
    [L_QTY2] => 1 
    [ALLOWNOTE] => 1 
    [BUYEREMAILOPTINENABLE] => 1 
    [CALLBACK] => /snip/ 
    [CALLBACKURL] => /snip/ 
    [CALLBACKTIMEOUT] => 6 
    [REQCONFIRMSHIPPING] => 0 
    [SHIPPINGAMT] => 5.00 
    [ITEMAMT] => 0.00 
    [TAXAMT] => 0.00 
) 

回答

4

不能發送一個空或零量到PayPal。 $ 0.01是最低的你可以去。

您可以嘗試解決此問題,從運費中扣除一分並將其添加到總額中,或者在物品費用爲零時交換運費和物品費用。

+0

嗯,這是一個有點惱人嘿。是否有一個已知的解決方法,或者你只是必須採取一分錢地從裝運,並將其添加到項目中? – Joe

+0

這,或將運費到項目收費,如果該項費用是0,這是我所知道的不幸的是,唯一的解決方法。 – Robert

+0

您可以將運費作爲正在銷售的「商品」添加,並且在進行PayPal電話時輸入nvp「NOSHIPPING = 1」 –