*

Vlad7

  • ****
  • 244 posts
Voucher + registration with Google
« on: September 20, 2023, 07:52:40 pm »
Hello, it’s a good idea to use a voucher to invite a friend, this way it encourages users to share my site and promote it, but what to do when the user shared the invitation link and invitation code but the new user followed the link and registered through Google!  thus it is not possible to apply the invitation voucher.

*

MB Themes

Re: Voucher + registration with Google
« Reply #1 on: September 20, 2023, 08:04:06 pm »
That is correct.
It is not possible ro use affliate code.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

lauraharris

  • **
  • 5 posts
Re: Voucher + registration with Google
« Reply #2 on: November 25, 2026, 08:08:30 pm »
One workaround is to capture the voucher/invite code in a cookie or session before the Google OAuth redirect, then attach it to the new account after the callback. If the plugin does not expose that hook, add a “Have an invite code?” field on the post-registration/account page and apply it on first login. That does not make the code work during Google signup, but it preserves the referral flow instead of dropping it.