Donation checkout flow not being displayed in config

Created on 9 October 2024, about 1 month ago

I installed the module and then went to /admin/commerce/config/donation-settings

On that page, I am setting it up using Option 2 (A site in which donations are an additional item in a typical e-commerce setup.). In the associated instructions, it states "Choose the /cart route option below with... The donation checkout flow you created previously.". However, the only two checkout flows appearing are Default and Shipping. I have cleared cache several times, and the "Donation Flow" checkout flow never appears. How can I fix this?

Also, how can a user get to the checkout page to add their donation, without first adding some product to the cart? I want users to be able to purchase normal products, but users should also be able to just donate if they wish.

πŸ’¬ Support request
Status

Active

Version

1.1

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States hockey2112

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

Comments & Activities

  • Issue created by @hockey2112
  • πŸ‡ΊπŸ‡ΈUnited States fathershawn New York

    Please confirm that you have successfully completed step 1 in that section:

    Before completing this configuration, create or confirm that you have created a checkout flow that uses this modules's donation_multistep_flow plugin. Place the "Add Donation" pane in the first step of the flow, just before the Donation step.

    When you browse to /admin/commerce/config/checkout-flows you should see the multi-step checkout flow that uses our plugin.

    If you want to use the mixed flow, and add donations outside the checkout flow, some custom work will be needed as I only have that feature for the donations only flow at the moment. The core task is to create and configure for the customer an instance of our Donation order_item. You might look at improving src/Plugin/Block/QuickDonationBlock.php and \Drupal\commerce_donation_flow\Controller\DonationController::quickDonation so that it chooses the proper paths for redirection or build a route of your own that does this task for your setup.

  • πŸ‡ΊπŸ‡ΈUnited States fathershawn New York
Production build 0.71.5 2024