Many of the methods defined in the commerce_authnet/src/Plugin/Commerce/PaymentGateway/OnsiteBase.php can be reused in other payment gateway plugins. So, we need to create a helper service that will contain all the reusable methods. This will help simplify the code in the Accept Hosted payment gateway.

Command icon Show commands

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

vmarchuk created an issue. See original summary.

vmarchuk’s picture

Status: Active » Needs review

  • vmarchuk committed 4781e3d7 on 8.x-1.x
    Issue #3553546: Create a helper service that will contain all the...
vmarchuk’s picture

Assigned: vmarchuk » Unassigned
Status: Needs review » Fixed

The changes have been tested locally for all payment gateways, and everything works great!
Committed!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.