Skip to content
Snippets Groups Projects
Commit 7a7c8e2b authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

#4158 Fix for recurring double ups

parent 83a5ebc4
No related branches found
No related tags found
No related merge requests found
......@@ -544,7 +544,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
public function doPaymentPayPalButton(&$params) {
$args = [];
$result = $this->setStatusPaymentPending([]);
$result = [];
$this->initialize($args, 'DoDirectPayment');
......@@ -606,7 +606,6 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
}
/* Success */
$result = $this->setStatusPaymentCompleted($result);
$doQueryParams = [
'gross_amount' => $apiResult['amt'] ?? NULL,
'trxn_id' => $apiResult['transactionid'] ?? NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment