• Hello,

    When a transaction is coming from WooCommerce the last name of the customer is replaced by the first name. Please check this screenshot in order to see an example:

    https://milardo.me/sandbox/merchantone/issue.png

    You can see “megan megan”, “Paul Paul”, “Arkady Arkady”, etc which are only the first name of the customers, but duplicated.

    checking on your code, on line 318 of the file webmicro-merchantone-woo-addon.php I see that you are sending the first name twice:

    	$wc_order->billing_first_name,
    	$wc_order->billing_first_name,

    When it should be:

    	$wc_order->billing_first_name,
    	$wc_order->billing_last_name,

    https://milardo.me/sandbox/merchantone/fix.png

    Is there any way you could fix it and release a patch? just so that we won’t have to hardcode anything on our end.

    Thanks!

  • The topic ‘Duplicated first name (fix included!)’ is closed to new replies.