Hi, Im having a problem with wix query.
I have a site that sells paid language lessons and Im trying to set that when a user clicks on a lesson Image there a query that checks if the user email exists in the paid member collection. if it does exist he needs to be redirected to the lesson page, if not theres a lightbox that says he needs to pay first. There seems to be no problems with my code, but still it doesn't work :( Im inserting few email addresses to the paid member collection,just for example, and then trying to login with one of them as a site member. But even that the email Im using do exists in the live collection Im not being redirected to the lesson and I get only the lightbox says I need to pay. this is the code Im using:
I would really appreciate any help,Thanks!