Skip to content

Commit

Permalink
Get name from entity instead of form data
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienho committed Jun 28, 2023
1 parent 6cdf8ec commit 3eed328
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 3eed328

Please sign in to comment.