Stripe Payment form not appearing in checkout journey

Created on 25 October 2024, 4 months ago

Stripe Payment fields do not appear in Commerce Checkout Journey, user unable to complete checkout

Steps to reproduce

New Drupal 10 install - 10.3.6
Drupal Commerce 2.40
Drupal Commerce Stripe 1.1

Add a product to Cart
Go to Cart
Confirm Order Items
Complete Contact Information and Shipping Information forms
Progress to review order, Stripe payment details don't appear.
click the "Pay and Complete Purchase" button
I get the Drupal error page with the message- Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "stripe_payment_element" plugin did not specify a "offsite-payment" form class in Drupal\Core\Plugin\PluginFormFactory->createInstance() (line 41 of /app/web/core/lib/Drupal/Core/Plugin/PluginFormFactory.php).

This happens in both Test mode and Live Mode. I am using the correct stripe keys.

Proposed resolution

None, I saw this resolved in another issue however I didn't actually see a resolution. I'm using the latest version of the module which I installed via composer earlier this week (20th October)

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.1

Component

Payment Element

Created by

πŸ‡¬πŸ‡§United Kingdom brenm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @brenm
  • Status changed to Closed: cannot reproduce about 22 hours ago
  • πŸ‡ΊπŸ‡ΈUnited States TomTech

    Hi @brenm!

    It sounds like either:
    1. The Strip Review Pane is not present on the Review Checkout Step
    2. If it is present, then best place to investigate is the browser console log. It is possible that some other javascript on the site is conflicting/breaking with the stripe js.

Production build 0.71.5 2024