DELETE Details if Email Confirmation is PENDING

Hi bubblers !
I have a Data Type called ‘Manually Added Customers’ (which is separate from USER Db), which contains Details of Added CUSTOMERS (Name, Email, Contact, etc). When a CUSTOMER is added :

  1. an Email with Verification Link is sent to CUSTOMER for verification. (This CUSTOMER doesnt have an account in our App, but we want to verify his Email Address.)
  2. an API is Scheduled to DELETE this ‘Manually Added Customer’ after 30 days, if Email is not Verified.

following are the issues :

  1. When verification link is clicked in Email, it goes to ‘404’ instead of the defined Confirmation_page. The Link contains TOKEN generated in previous step.
  2. Generally ‘only when’ condition that can be used is ‘USER email confirmed is no’. But what condition should be used for verifying through Email Token, whether it has been confirmed or not ?

Sounds like you have constructed the link for the email wrong.

@S2294
the email link is constructed as below :
1  Email Verification Link with TOKEN

URL : www.rentlord.in
confirmation page : email_verification_done
token : result of step #5

do you see any required changes?

@adityasinghal08 You have constructed the link for the live app but you haven’t deployed the current work to live, it’s still in development.

When I go to rentlord.in/email_verification_done I get a 404 error because that page doesn’t exist in your live app.

When I go to rentlord.in/version-test/email_verification_done I see your page because you only have it in development.

Simply add version-test to the email link if you want to test this in development mode and publish your changes to live later, or publish your work to live app which will make the current link work.

1 Like

@S2294
Thank you for your revert. Never knew/used this setting before. The Link works now.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.