Closed (fixed)
Project:
Commerce CyberSource
Version:
8.x-1.8
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2026 at 08:57 UTC
Updated:
16 Jul 2026 at 09:10 UTC
Jump to comment: Most recent
### Problem
src/Plugin/Commerce/PaymentGateway/CyberSourceSahc.php (~line 407) uses the global t() inside updatePayment(). In an OOP plugin this should be $this->t() (PHPCS / DrupalPractice).
### Proposed resolution
Replace the global t() call with $this->t().
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
jsacksick commented