• Resolved Simon Mista

    (@simonmista)


    Hello,

    I am using Tera Wallet with the option “New user registration – Set credit upon new user registration”. This works fine for normal WordPress sign-ups.

    However, when new users are created via SSO login (in my case with “miniOrange SSO with SAML 2.0”), they do not receive the initial credit after their first login / account creation.

    Steps to reproduce:

    1. Enable the option “Set credit upon new user registration”.
    2. Log in with a new user via SSO (miniOrange SSO with SAML 2.0).
    3. Account is created, but no credit is added.

    Expected result:
    New users should receive the initial credit also when created via SSO login.

    Actual result:
    No credit is applied after the first login with SSO.

    Environment:

    • WordPress latest version
    • Tera Wallet latest version
    • miniOrange SSO (SAML 2.0)
    • PHP 8.1, standard Linux hosting

    Could you please fix this issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @simonmista We are using WordPress default user_register Hook to credit the user wallet upon new user registration. Please ensure that miniOrange SSO triggers this hook after SSO login.

    Thread Starter Simon Mista

    (@simonmista)

    Hi @subratamal ,
    The user_register hook is firing correctly — confirmed in the log:

    [08-Oct-2025 14:58:48 UTC] [user_register] fired for user_id=603

    Tested with:

    add_action(‘user_register’, function ($user_id) {
    error_log(‘[user_register] fired for user_id=’ . $user_id);
    }, 10, 1);

    However, the user still receives no initial credit (0.00 €).

    Could you please take a look at this? Thanks.

    • This reply was modified 9 months, 1 week ago by Simon Mista.
    Thread Starter Simon Mista

    (@simonmista)

    Hello @subratamal ,
    Do you have any updates or further suggestions on this?

    Thread Starter Simon Mista

    (@simonmista)

    @subratamal any updates on this issue? It’s still not working with SSO-created users, even though the user_register hook is firing correctly.

    Plugin Author Subrata Mal

    (@subratamal)

    @simonmista We’ve made the referral module compatible with SSO. Please install the latest version of our plugin and let us know if this resolves the issue for you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.