From 2b1144e4a21f9fd85abd32ec044b850f73e56091 Mon Sep 17 00:00:00 2001 From: Dan0sz <18595395+Dan0sz@users.noreply.github.com> Date: Thu, 27 Feb 2025 23:02:20 +0100 Subject: [PATCH] Fixed: set a referring URL in the track purchase action, to make sure the correct URL is set in the request when being redirected from a payment provider. --- src/Integrations/EDD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Integrations/EDD.php b/src/Integrations/EDD.php index 9d94ec1..1ab3111 100644 --- a/src/Integrations/EDD.php +++ b/src/Integrations/EDD.php @@ -193,6 +193,6 @@ public function track_purchase( $order_id, $payment ) { $proxy = new Proxy( false ); - $proxy->do_request( $this->event_goals[ 'purchase' ], null, null, $props ); + $proxy->do_request( $this->event_goals[ 'purchase' ], null, edd_get_checkout_uri(), $props ); } }