Stripe webhook no longer functions

-------------------------------------------------------------------------------------
DOLIBARR ENVIRONMENT

  • Version: 22.0.4
  • Operating System: Linux
  • Web Server: o2switch-PowerBoost-v3
  • PHP: 8.3
  • Database: MySQL
  • URL(s): /public/stripe.ipn.php

Since late January, I get errors on this webhook. They say

Error: Setup of module Stripe not complete for mode StripeLive. The STRIPE_USER_ACCOUNT_FOR_ACTIONS is not defined.

The trouble is, I cannot find any reference to a STRIPE_USER_ACCOUNT_FOR_ACTIONS

Is this a new feature, referring to a dolibarr account to use for this?

OK, by reading the source for the stripe module, I found that I needed to set a new variable in Setup→Other setup

STRIPE_USER_ACCOUNT_FOR_ACTIONS

to a user account name with the relevant access rights for stripe payments.

It seems to be working now.

@makegeneve what functionality does one gain?

In my case, stripe payments started working again

You can set the constants directly, like you did. But it is easier to do this in the Setup page of the Stripe module:

I wasn’t using that option. Thanks.