[#8] added twingle ID prefix
This commit is contained in:
parent
33c81951fc
commit
d9a44f07e7
7 changed files with 42 additions and 7 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