CanΒ΄t pay the added funds

Created on 27 January 2025, 2 months ago

Hello guys...

The "Deposit funds" feature (/user/funds/deposit) is working well. It creates the product variation, the product and the order. However, the order is created as "Draft", and not being displayed into the cart page. So, if this is the case, how is it the user supposed to pay it? Did I miss any configuration?

Thanks for your help...

πŸ’¬ Support request
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡¨πŸ‡΄Colombia waspper

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

Comments & Activities

  • Issue created by @waspper
  • πŸ‡­πŸ‡·Croatia Aporie

    Hi Waspper,

    If you didn't implement any customization yet, this module is not intended to add deposits to the cart. Also, draft is the regular state for Commerce orders before they are paid.

    Using /user/funds/deposit or the deposit field, you should be redirected directly to the order information page and then to the review page to select a payment method out of the box.

    You can refer to the document to understand the purpose this module has been created: https://www.drupal.org/docs/contributed-modules/commerce-funds β†’

    Commerce funds has no intention to cover all cases and scenarios, so if you have another use case, you can just tweak it to your needs.

  • πŸ‡¨πŸ‡΄Colombia waspper

    Hello @aporie

    Thanks for your reply...

    at the end, I discovered that, when using this module into a project where it is also using Commerce Stock β†’ , it is needed to go to /admin/commerce/config/stock/settings and set the "Deposit" product variation type as "Always in stock". Otherwise, it will always redirect to the /cart page, which it was in my case.

    Again, thanks for your help...

  • πŸ‡¨πŸ‡΄Colombia waspper
  • πŸ‡­πŸ‡·Croatia Aporie

    Ok, good to know.

    It is probably something that can be added to the documentation.

    Will give it some tests myself, when I have some time.

Production build 0.71.5 2024