Problem/Motivation

We only have test coverage for the legacy Card Element. We really need coverage for Payment Element.

Now that we have modernized the Card Element tests and refactored the code, we should add tests.

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

tomtech created an issue. See original summary.

tomtech’s picture

Getting an exception, but this is because of an issue in the code that occurs in PHP8.2+.

This has been addressed in #3591853: Properly handle non-success status in createPayment.

Going to rebase, and this should be addressed.

  • 4d7694df committed on 2.x
    task: #3591849 Add payment element tests
    
    By: tomtech
    
tomtech’s picture

Status: Active » Fixed

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.