Closed (fixed)
Project:
Commerce Stripe
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 May 2026 at 02:25 UTC
Updated:
8 Jun 2026 at 04:20 UTC
Jump to comment: Most recent
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.
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 #3
tomtech commentedGetting 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.
Comment #5
tomtech commented