Page MenuHomePhabricator

INVALID_MESSAGE No payment type found for message [stripe_audit]
Open, In Progress, Needs TriagePublic

Description

FAILMAIL subject: Failmail alert Removal : of INVALID_MESSAGE from donations civi1002 Civi\WMFQueue\QueueConsumer

log file: /var/log/process-control/donations_queue_consume/donations_queue_consume-20260814-040501.log

The code in ext/wmf-civicrm/Civi/WMFQueueMessage/DonationMessage.php suggests this error is thrown when we payment_instrument_id is not set int he message and indeed the message (below) doesn't:

{
  "message": {
    "gateway": "gravy",
    "audit_file_gateway": "stripe",
    "backend_processor": "stripe",
    "gateway_txn_id": "txn_1TzHdNIwQmMg1daL65qYaEUG",
    "gateway_account": "mg",
    "type": "donation",
    "date": 1785508921,
    "order_id": null,
    "contribution_tracking_id": null,
    "backend_processor_txn_id": "txn_1TzHdNIwQmMg1daL65qYaEUG",
    "payment_method": "stripe_account",
    "currency": "USD",
    "gross": "1780.11",
    "original_total_amount": "1780.11",
    "original_currency": "USD",
    "settlement_batch_reference": "stripemg_po_1U09w4IwQmMg1daLtFefjkT2_USD",
    "settled_total_amount": "1780.11",
    "settled_fee_amount": "-0",
    "settled_net_amount": "1780.11",
    "settled_currency": "USD",
    "settled_date": 1785717656,
    "payment_orchestrator_reconciliation_id": "",
    "contribution_id": null,
    "parent_contribution_id": null,
    "transaction_details": null,
    "utm_source": "stripe_audit",
    "utm_medium": "stripe_audit",
    "utm_campaign": "stripe_audit",
    "source_name": "stripe Recon Auditor",
    "source_type": "audit",
    "source_host": "civi1002",
    "source_run_id": 3229633,
    "source_version": "unknown",
    "source_enqueued_time": 1786680302
  }
}

Event Timeline

@Eileenmcnaughton do you plan to work on this? If so i think merging is good, mostly I don't want to have this task removed from chaos triage if not worked on.

Change #1326245 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Uset stripe as the payment method for GiveLively

https://gerrit.wikimedia.org/r/1326245

Laurabarluzzi changed the task status from Open to In Progress.Mon, Aug 17, 1:45 PM
Laurabarluzzi assigned this task to Eileenmcnaughton.

Change #1326388 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Alternatively use cc for Stripe GiveLively

https://gerrit.wikimedia.org/r/1326388

Change #1326245 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Uset stripe as the payment method for GiveLively

https://gerrit.wikimedia.org/r/1326245

Change #1326388 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Alternatively use cc for Stripe GiveLively

https://gerrit.wikimedia.org/r/1326388

Ejegg subscribed.

Looks like this was deployed on Aug 18th too