improve SEPA mandate result values
This commit is contained in:
parent
67283fa1a7
commit
c0af2e16ab
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
||||||
// Create the mandate.
|
// Create the mandate.
|
||||||
$mandate = civicrm_api3('SepaMandate', 'createfull', $mandate_data);
|
$mandate = civicrm_api3('SepaMandate', 'createfull', $mandate_data);
|
||||||
|
|
||||||
$result_values['sepa_mandate'] = $mandate['values'];
|
$result_values['sepa_mandate'] = CRM_Utils_Array::first($mandate['values']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Set financial type depending on donation rhythm. This applies for
|
// Set financial type depending on donation rhythm. This applies for
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue