Wrong payment link in Customer Invoice mail
-
Hello,
When i create a new order for a customer, the invoice email sent to the customer contains a wrong payment link. The payment link structure is like
https://URL/checkout//390?pay_for_order=true&key=order_56530124e38c0
I saw some older invoice emails and the link structure was like
https://URL/checkout/order-pay/154?pay_for_order=true&key=wc_order_564088c2494c7&subscription_renewal=true
So, there is one missing argument, the “order-pay” argument.
Reviewing the customer-invoice email template, i found out that the function creating the payment link is
esc_url( $order->get_checkout_payment_url() )
Could anyone help please?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Wrong payment link in Customer Invoice mail’ is closed to new replies.