----------------------------------------
* CRM-15993: Add CiviCRM BN code to all PayPal methods for partner program tracking
https://issues.civicrm.org/jira/browse/CRM-15993
"&b={$params['contributionID']}" .
"&p={$params['contributionPageID']}";
+ // add CiviCRM BN code
+ $args['BUTTONSOURCE'] = 'CiviCRM_SP';
+
$result = $this->invokeAPI($args);
if (is_a($result, 'CRM_Core_Error')) {
}
/* Success */
-
$params['trxn_id'] = $result['transactionid'];
$params['gross_amount'] = $result['amt'];
$params['fee_amount'] = $result['feeamt'];