Hello, is Userpoints 2.0.0-beta2 still using transactions module? If so, how to configure it to credit the transaction with user entity? I tried several ways, to get it working, but without success.

To create a transaction, i use ECA module. The action trigger after a user login. Transaction is successfully created and executed, but points value of user who received the transaction isn't updating.

If i try creating a Userpoints entity with ECA module, the entity don't got created. The model stops at marked point in attached screenshot without error or anything.

Maybe, someone can help on how to configure userpoints correct with or without Transaction module, to automatically add points on certain user actions like "daily login".

Thanks.

CommentFileSizeAuthor
ECA Model- user login.png63.48 KBkillah89

Comments

KiLLAH89 created an issue. See original summary.

killah89’s picture

Issue summary: View changes
nico.b’s picture

From my understanding, Userpoints 2.0.0-beta2 does not make use of the Transaction module anymore.

Points can be added via the UserpointsService (by using the addPoints() method). If you want to react to certain actions, you can call the service in hooks and/or EventSubscribers.

killah89’s picture

Yeah, but why isn't it working with ECA "the new rules engine"?

alexander.nachev’s picture

Hi All,
I also need to add Userpoints with ECA. Where can I read more about this?