[#8] added transaction prefix
This commit is contained in:
commit
c9695c1773
6 changed files with 41 additions and 6 deletions
|
@ -72,8 +72,9 @@ function civicrm_api3_twingle_donation_endrecurring($params) {
|
|||
);
|
||||
}
|
||||
|
||||
$default_profile = CRM_Twingle_Profile::getProfile('default');
|
||||
$contribution = civicrm_api3('ContributionRecur', 'getsingle', array(
|
||||
'trxn_id' => $params['trx_id'],
|
||||
'trxn_id' => $default_profile->getTransactionID($params['trx_id']),
|
||||
));
|
||||
// End SEPA mandate (which ends the associated recurring contribution) or
|
||||
// recurring contributions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue