Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

payment response redirects

$
0
0

Replies: 0

All payment response redirects in class-wc-paymentsense-hosted.php are incorrectly using wc_get_endpoint_url()
e.g. $location = wc_get_endpoint_url( 'order-received', $order->get_id(), $order->get_checkout_order_received_url() );

This results in the returned url duplicating the order ID e.g. /checkout/order-received/432264/order-received/432264

This breaks query vars and ultimately the WooCommerce Google Analytics integration.


Viewing all articles
Browse latest Browse all 59525

Trending Articles