Skip Navigation

[Resolved] Email to affiliate after user confirmation

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Minesh 3 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1998909

I have built a small affiliate system using Toolset.
Affiliates are stored as WordPress users with custom role "affiliate" and I use their user ID as affiliate number.
Every Affiliate can use then the URL "hidden link" for their referrals

When a visitor come to the site with an affiliate link, and submit the contact form, the URL parameter "ref" is saved along to a custom user field "referrer_id"

The Affiliate should receive then a notification confirming that one of their referrals registered to the site.

However, the visitor should confirm their email, before the notification is sent to the Affiliate.

How I do that? Thanks

#1999299

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know you are using Toolset Form - right?

However, the visitor should confirm their email, before the notification is sent to the Affiliate.
==>
From where user will confirm the email, what is the process to confirm the email?

#1999409

Everything is done using WP, Toolset and nothing else.
The main problem is that Toolset Form don't have any integrated mechanism for double optins, which it's a must-have in 2021.

Anyway, this is the idea:

- Affiliate send a link to a customer, containing his WP user id. Ex.
hidden link

- Customer fills and submit the contact form on that page, which create a new WP user with his data + the affiliate number in a custom field.

- The form send automatically a notification to the customer, asking to confirm their email address through a link.

This is the point where I would like to know how to send a notification to the Affiliate, once the customer has confirmed his subscription.

I could think of an additional "status" custom field, where I could save a value of "confirmed", once the link have been clicked, which would trigger the Affiliate's notification.

Open for any other alternative workflow.

#2000631

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

- The form send automatically a notification to the customer, asking to confirm their email address through a link.
==>
So, once you click on this link, the customer email address will be automatically confirmed or the customer will be redirected to some page where there will be a form populated with his/her email address?

#2000729

That's my question for you.
As Toolset Form don't have any integrated way to double optins, how do we confirm the email address?

#2001887

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

There is no such native feature available.

Maybe you can check the following plugin that one of the user shared:
=> https://wordpress.org/plugins/user-verification/

Please check the following related ticket where there are few workarounds mentioned:
=> https://toolset.com/forums/topic/user-registration-email-verification-2-factor-authentication/
=> https://toolset.com/forums/topic/email-confirmation-link-for-new-users-there-has-been-no-solution-yet/
=> https://toolset.com/forums/topic/email-confirmation-link-for-new-users-there-has-been-no-solution-yet/

Also, you are welcome to file a feature request so that it will be again reviewed by our product manager and your vote get counted:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/