Product with Dynamic Pricing
-
Hi,
I noticed that your plugin gets the product price from the product meta instead of fetching the price set in the cart. This causes an issue with products with dynamic pricing causing paypal to send an error:
‘This transaction has been completed, but the total of items in the cart did not match the total of all items.’
I updated this file to fix the issue on my end.
woocommerce-paypal-pro-payment-gateway/woo-paypal-pro-gateway-class.php Lines: 383 – 384
//$prod_price = get_post_meta($values['product_id'] , '_price', true); $prod_price = $values['data']->get_price();
Hope you can check this out and include in your next update.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Product with Dynamic Pricing’ is closed to new replies.