I just checked one of my PayPal invoices and it doesn't show a "Surcharge" line. Look at the payment method for PayPal and make sure the Surcharge title is blank.
In order statuses, edit the Open status and uncheck "Notify customer" and Notify orders department".
The surcharge line is black on the payment method, this is probably a bug on my 4.3.9 version.
As for unchecking the notify customer I cant do it as i use the Open status for offline payment methods.
I can only recommend upgrading then. The latest version allows to set the PayPal order status to Incomplete instead of Open.
1. Try to comment out the following part of the code in the app/addons/paypal/paypal_express.functions.php file
if (!empty($data['payment_surcharge'])) { $order_data['L_PAYMENTREQUEST_0_NAME' . $product_index] = __('surcharge'); $order_data['L_PAYMENTREQUEST_0_QTY' . $product_index] = 1; $order_data['L_PAYMENTREQUEST_0_AMT' . $product_index] = $data['payment_surcharge']; $data['subtotal'] += $data['payment_surcharge']; }
2. In the same try to please replace
fn_finish_payment($order_info['order_id'], $pp_response);
with
fn_finish_payment($order_info['order_id'], $pp_response, false);
Thanks, I'm going to try this solution ecom.
Many huge thanks ecomLabs, it works!!!! Not only the surcharge is gone but it's not sending two emails for the same order either, it's a miracle!!
By the way, can I also take the "insurance" line from paypal invoices?
You are welcome!
Many huge thanks ecomLabs, it works!!!! Not only the surcharge is gone but it's not sending two emails for the same order either, it's a miracle!!
By the way, can I also take the "insurance" line from paypal invoices?
What is "insurance line"? Please clarify
Please check the print screen: http://prntscr.com/jgkmws
There is a line on the paypal invoice, before "Total" that states "Insurance"
Edit: this only happens when the customer uses paypal to pay with credit card without opening a paypal account.
Sorry, but I do not see any code related with insurance in the PayPal addon. May be 3rd party module can add this line?
No, I only have the default Paypal addon, this is weird as it only happens when people pay with credit card using paypal express without an actuall paypal account.