Problem/Motivation

This issue exists to try out #3410195: Make it easy to add payment info to \Drupal\commerce_payment\Exception\PaymentGatewayException and implement it if it works as hoped.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#3 CleanShot 2024-03-11 at 12.43.39@2x.png108.38 KBalexpott
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

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
StatusFileSize
new108.38 KB

I have used this MR on a sandbox payment gateway. I have tested both a successful and a decline transaction. I've also searched the code for all PaymentGatewayExceptions and ensured that

With a declined transaction you can now see the credit card type in the commerce log - see screenshot.

jsacksick’s picture

There are conflicts in the MR. Other than that, looks good.

  • jsacksick committed ff8edb1f on 8.x-1.x authored by alexpott
    Issue #3425498 by alexpott, jsacksick: Use PaymentGatewayException::...
jsacksick’s picture

Status: Needs review » Fixed

Fixed the conflicts and merged.

Status: Fixed » Closed (fixed)

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