Skip to content

Commit

Permalink
Fixed: set a referring URL in the track purchase action, to make sure…
Browse files Browse the repository at this point in the history
… the correct URL is set in the request when being redirected from a payment provider.
  • Loading branch information
Dan0sz committed Feb 27, 2025
1 parent 08da15f commit 2b1144e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Integrations/EDD.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

0 comments on commit 2b1144e

Please sign in to comment.