Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -1114,8 +1114,10 @@ |
1115 | 1115 | */ |
1116 | 1116 | public function updateContributionTracking( &$data, $force=false ) { |
1117 | 1117 | // ony update contrib tracking if we're coming from a single-step landing page |
1118 | | - // which we know with cc# in utm_source or if force=true |
1119 | | - if ( !$force && !preg_match( "/cc[0-9]/", $data[ 'utm_source' ] )) { |
| 1118 | + // which we know with cc# in utm_source or if force=true or if contribution_tracking_id is not set |
| 1119 | + if ( !$force && |
| 1120 | + !preg_match( "/cc[0-9]/", $data[ 'utm_source' ] ) && |
| 1121 | + $data[ 'contribution_tracking_id' ] ) { |
1120 | 1122 | return; |
1121 | 1123 | } |
1122 | 1124 | |