• Resolved yudhisthirnahar

    (@yudhisthirnahar)


    I am using login with OTP via DIGITS plugin and via that we are unable to get referral action working, its not working at while user get registered via otp.
    I think it uses wp_create_user function.
    I have also added do_action(‘user_register’) after wp_create_user function but it doesn’t calls the wallet referral function woo_wallet_referring_signup.

    Please check the issue.
    You can check in myaccount on staging setup.

    my referral link http://staging.orionators.in/lbertnew/?wwref=1

    also one more i think its not good enough to show user_id in url instead can we use hash.

    The page I need help with: [log in to see the link]

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

    (@subratamal)

    @yudhisthirnahar

    Yes, we are using user_register action for referral signup. You can use username instead user_id in referral link.

    Thread Starter yudhisthirnahar

    (@yudhisthirnahar)

    i knew user_register but the hook doesn’t get called may be due to loading or something else.

    also about referral_link i don’t want to show username too need different algorithm as i am using mobile number as username

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

The topic ‘Register with OTP ‘DIGITS’ plugin’ is closed to new replies.