Cannot create the payment without the PayPal order ID

Created on 19 March 2024, 8 months ago

Hi, thank you for your wonderful module. It has been working well for years and now receiving:

Cannot create the payment without the PayPal order ID.

Setup:

  • Paypal Checkout Preferred
  • Not selected: Show smart buttons because users can choose between Paypal and Stripe

Checkout Flow:

  • Order Information: Guest checkout (allowed)
  • Review: Review
  • Payment: PayPal Checkout payment process
  • Complete: Download Files

Create Order:

  1. Add to Cart
  2. Select Paypal
  3. Pay to Complete Purchase

Error:

Cannot create the payment without the PayPal order ID.

InvalidArgumentException: Invalid step ID "" passed to redirectToStep(). in Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowBase->redirectToStep() (line 214 of modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php).

Can someone share a screenshot of the exact checkout flow please? Most appreciated.

๐Ÿ’ฌ Support request
Status

Active

Version

1.0

Component

PayPal Checkout

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance liliplanet Cannes

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

Comments & Activities

  • Issue created by @liliplanet
  • ๐Ÿ‡ซ๐Ÿ‡ทFrance liliplanet Cannes

    Update: I think it is fixed with following workflow: (waiting for a payment)

  • ๐Ÿ‡ฎ๐Ÿ‡ฑIsrael jsacksick

    You need to use the "Payment process" pane.
    The Checkout payment process pane should only be used in the paypal_checkout checkout flow.
    Also, please look for previous reports as this has been previously reported a lot.

  • ๐Ÿ‡ซ๐Ÿ‡ทFrance liliplanet Cannes

    Thank you for your reply jsacksick! I did look through every post carefully, but they gave different solutions.

    There are 2 payment gateways available, Stripe and Paypal checkout (preferred).

    1. Paypal checkout preferred setup.

    2. Stripe checkout flow.

    Is the Paypal checkout preferred still incorrect, or is there a better way to get this done?

    Most appreciated jsacksick ๐ŸŒท

  • En mi caso lo he resuelto aรฑadiendo el paso order summary a review.

Production build 0.71.5 2024