r74451 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74450‎ | r74451 | r74452 >
Date:19:01, 7 October 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Updated paypal redirect code to alter payment gateway bit of utm_source to pp
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -1068,6 +1068,11 @@
10691069 return;
10701070 }
10711071
 1072+ // update the utm source to set the payment instrument to pp rather than cc
 1073+ $utm_source_parts = explode( ".", $data[ 'utm_source' ] );
 1074+ $utm_source_parts[2] = 'pp';
 1075+ $data[ 'utm_source' ] = implode( ".", $utm_source_parts );
 1076+
10721077 /**
10731078 * update contribution tracking
10741079 */

Status & tagging log