eileenmcnaughton / nz.co.fuzion.omnipaymultiprocessor

Omnipay Multi Processor Payment Processor For CiviCRM
Other
13 stars 43 forks source link

Failing recurring contributions with paypal checkout #268

Open yashodha opened 5 months ago

yashodha commented 5 months ago

I am using CiviCRM 5.46 + omnipay 3.16 We have had a lot of failing recurring contributions and I see this in the logs


Jan 29 23:20:50  [error]
$Fatal Error Details = array:3 [
  "message" => "id is not a valid integer"
  "code" => null
  "exception" => CiviCRM_API3_Exception {#2048
    -extraParams: array:7 [
      "error_field" => "id"
      "type" => "integer"
      "error_code" => 2001
      "entity" => "Contribution"
      "action" => "getcount"
      "is_error" => 1
      "error_message" => "id is not a valid integer"
    ]
    #message: "id is not a valid integer"
    #code: 0
    #file: "/var/www/html/web/sites/all/modules/civicrm/api/api.php"
    #line: 134
    trace: {
      /var/www/html/web/sites/all/modules/civicrm/api/api.php:134 {
        › if (is_array($result) && !empty($result['is_error'])) {
        ›   throw new CiviCRM_API3_Exception($result['error_message'], CRM_Utils_Array::value('error_code', $result, 'undefined'), $result);
        › }
      }
      /var/www/html/web/sites/all/civicrm-extend/nz.co.fuzion.omnipaymultiprocessor/CRM/Core/Payment/OmnipayMultiProcessor.php:799 { …}
      /var/www/html/web/sites/all/civicrm-extend/nz.co.fuzion.omnipaymultiprocessor/CRM/Core/Payment/OmnipayMultiProcessor.php:766 { …}
      /var/www/html/web/sites/all/modules/civicrm/CRM/Core/Payment.php:1628 { …}
      /var/www/html/web/sites/all/modules/civicrm/CRM/Core/Payment.php:1521 { …}
      /var/www/html/web/sites/all/modules/civicrm/CRM/Core/Invoke.php:285 { …}
      /var/www/html/web/sites/all/modules/civicrm/CRM/Core/Invoke.php:69 { …}
      /var/www/html/web/sites/all/modules/civicrm/CRM/Core/Invoke.php:36 { …}
      /var/www/html/web/sites/all/modules/civicrm/drupal/civicrm.module:471 { …}
      /var/www/html/web/includes/menu.inc:527 { …}
      /var/www/html/web/index.php:21 { …}
    }
  }
]

Additionally getting these notification from PayPal that have been coming (can confirm the payment processor id is correct) "Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

https://site.com/civicrm/payment/ipn/7

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account." I will debugging this more and will update you.

In the meanwhile, lemme know if you have encountered similar issue. Thanks!

eileenmcnaughton commented 3 weeks ago

@yashodha what happened with this one?