Three of these happened 2024-12-20:
invoice_id : 222102261.2
gravy id: 0826a7f9-70ac-4b4b-8ace-dea4d9075d7e
/var/log/process-control/recurring_smashpig_charge/recurring_smashpig_charge-20241220-102101.log
2024-12-20 10:25:14,095 ERROR civicrm.wmf.INFO: Error: 1000009 invoice_id:222102261.2
2024-12-20 10:25:14,096 ERROR WD php: Error: Object of class [error]
2024-12-20 10:25:14,096 ERROR SmashPig\PaymentProviders\Responses\ApprovePaymentResponse could not
2024-12-20 10:25:14,096 ERROR be converted to string in
2024-12-20 10:25:14,096 ERROR CRM_Core_Payment_SmashPigRecurringProcessor->createActivity() (line
2024-12-20 10:25:14,096 ERROR 372 of
2024-12-20 10:25:14,096 ERROR /srv/org.wikimedia.civicrm/drupal/sites/default/civicrm/extensions/org.wikimedia.smashpig/CRM/Core/Payment/SmashPigRecurringProcessor.php).
2024-12-20 10:25:14,097 INFO Error: Object of class SmashPig\PaymentProviders\Responses\ApprovePaymentResponse could not be converted to string in CRM_Core_Payment_SmashPigRecurringProcessor->createActivity() (line 372 of /srv/org.wikimedia.civicrm/drupal/sites/default/civicrm/extensions/org.wikimedia.smashpig/CRM/Core/Payment/SmashPigRecurringProcessor.php).
2024-12-20 10:25:14,097 ERROR Drush command terminated abnormally due to an unrecoverable error. [error]
2 Failed the inital recurring setup, and then when we tried to charge the token we got the error splitToken is not valid
1 Had the inital go through but the donor cancelled it on their end after that we got the error canceled_payment_method
This is due to the ACH flow where we put them all in civi first then figure out if they succeed/fail
- Need to catch the error so the recurring charge job doesn't break https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/crm/+/1113602
- Figure out why we aren't getting updated info on their status from gravy
- Check that we are actually cancelling the recurring if we get a failed payment/updated info