Skip to content

Commit

Permalink
Merge pull request #20 from agencenous/master
Browse files Browse the repository at this point in the history
Get name from entity instead of form data
  • Loading branch information
bjendres authored Jun 28, 2023
2 parents 6cdf8ec + 3eed328 commit 289e79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sepapp.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function sepapp_civicrm_postProcess($formName, &$form)
$paymentProcessor = civicrm_api3(
'PaymentProcessor',
'getsingle',
array('name' => $form->_submitValues['name'], 'is_test' => 0)
array('name' => $pp['name'], 'is_test' => 0)
);

$creditor_id = $form->_submitValues['user_name'];
Expand Down

0 comments on commit 289e79d

Please sign in to comment.