Skip to content

Commit ada781c

Browse files
committed
Add on-hold and pending as valid purchase order states
1 parent 0c79396 commit ada781c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

facebook-commerce-events-tracker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ public function inject_purchase_event( $order_id ) {
918918

919919
$event_name = 'Purchase';
920920

921-
$valid_purchase_order_states = array( 'processing', 'completed' );
921+
$valid_purchase_order_states = array( 'processing', 'completed', 'on-hold', 'pending' );
922922

923923
if ( ! $this->is_pixel_enabled() ) {
924924
return;

0 commit comments

Comments
 (0)