In #781 a couple of filters are proposed that would allow 3rd parties to alter the line item information sent to PayPal when creating the order on PayPal's side.
This PR is basically the same as #781 but limits the information that can be altered to the line item name and description, and not the whole thing (preventing modification of SKU, quantity, etc.).
In #781 a couple of filters are proposed that would allow 3rd parties to alter the line item information sent to PayPal when creating the order on PayPal's side. This PR is basically the same as #781 but limits the information that can be altered to the line item name and description, and not the whole thing (preventing modification of SKU, quantity, etc.).
Specifically, the following filters are added:
woocommerce_paypal_express_checkout_cart_line_item_name
woocommerce_paypal_express_checkout_cart_line_item_description
woocommerce_paypal_express_checkout_cart_fee_name
woocommerce_paypal_express_checkout_cart_fee_description
woocommerce_paypal_express_checkout_order_line_item_name