Problem with PayPal
-
Good afternoon.
I am having a problem with WooCommerce:1 – I apply the tax rate to separate shipping shipping amount and the tax rate.
2 – When you use a gift card that allows pay shipping:
If the purchase amount is less than the balance no problem. The amount is zero and passes the script.
(Example: For $ 27 card balance $ 50 (Shipping Shipping Rate 5.38 1.13))
If the purchase amount is higher than the balance and total to pay is less than shipping
(Example: For $ 78 card balance $ 50 (Pay 28 + shipping + shipping fees) produces the following error on PayPal:The link you used to access the PayPal system contains an amount of malformed article.
I have corrected the script of the gift card to send the total with 2 decimal digits and a dot separation: ex .: 35.45
Any suggestions?
Thank you.PS .: If I do not find the solution, I thought removing the possibility to pay with PayPal when using the gift card and leave only credit card payments and bank transfer.
The code would isertar:$ giftcard_id = WC () -> session-> giftcard_post;
if (isset ($ giftcard_id)) {// As I can do to not charge the possibility of payment by PayPal
}
Thank you.
- The topic ‘Problem with PayPal’ is closed to new replies.