If I read my paid member page under development with the test user account (paid member),system makes me jump to registration page...why?

Hi, I’m hideto from japan.

I have some trouble for a couple of days in coding my site, maybe about…paid member API?

If I read my paid member page under development with the test user account (paid member), I do not know but somehow the system judges automatically that “you are not a paid member(wrong judge)” and system says “please register as a paid member!!” and makes me jump to the paid member registration page…

If the page is loaded with some code behaves wrong that demands high load on the system or page and that makes the page cannot be read correctly, will system behave like this?(system says"please register as a paid member!!" ?)

I assume this problem like this…
①page has high loaded(due to my wrong coding: ex)a lot of setInterval( ) in page )
②page cannot be read correctly.
③system judges and says"you are not paid member!!!"
④system makes me(test_user) jump to paid member registration page…???

or…some problem in paid member system ?

anyone knows same problem like this?

Loaded first time , the page is shown correctly, but Second time loaded(reloaded by F5) the page is not shown correctly(tend to like that).And preview mode can show the page correctly…why?

Does anybody know possible cause in this case?

You need to be telling us if this happens on a specific page or if it happens across your whole site?

Are you using a Wix tutorial/example or are you using custom code that you have made yourself?

If it is just on one page, then what code have you got on that page that is causing you issues?

If you are using your own code and querying the Wix Paid Plans collection, then please make sure that you are doing it properly.
https://support.wix.com/en/corvid-by-wix/wix-paid-plans-with-corvid

Are you trying to test your site in the preview mode as you need to use it in a live published site.
See the Wix Paid Plans API info section for more info.
https://www.wix.com/corvid/reference/wix-paid-plans.html
Note
To work with the Paid Plans API, you need to publish your site.

Also, remember that you can’t use Wixz Paid Plans without becoming a member.
https://support.wix.com/en/article/request-allowing-customers-to-purchase-a-paid-plan-without-becoming-a-site-member

You might want to look at testing with a trial plan instead.
https://support.wix.com/en/article/offering-your-clients-a-free-trial-period-in-paid-plans

Thank you GOS!!

Until now, at first I thought it was a problem that was happening only on a specific page. However, when I tried the same thing on another page (loading or reloading the page) in response to your suggestions, the same problem occurred. So I think this is a whole site problem. Unfortunately, I’ve confirmed that the same thing happens on another pages that haven’t changed anything.

Until this morning, I thought that there was a problem with my code(I 'm Javascript beginners) ,for example queries to collections, or a problem with suppressing administrator rights in the back-end code,etc., but I tried restoring from the editing history of the site. And Try, but occurs again I added some code later.even if I try to publish the site by commenting out almost all the code(in $w.onReady
)… the same phenomenon starts to happen again, so I began to think that the problem was not there…or not? I think that this symptom began to appear around January 4 th-6th, 2020 in Japan time.

And, as I noticed this morning, I think this is probably a login issue than an API issue for a paid membership plan. I use the registered user’s information (nickname and profile picture) from the back-end code as a reference from private member data, but when the site is displayed incorrectly, I noticed that the information about the user who was supposed to be logged in was not displayed on the screen (maybe system queryed but could not be retrieved).

Therefore, system judged “You are not logged in!! (not “you are not paid member!!”)”, so the paid member API will determine to make me register to Paid Plan Member again and again…

or is this possible??? my custom page( I discovered this problem first time) make the system setting or whole site wrong.

either way Thank you GOS for answering my question, maybe you will become my life saver.this morning I’ve made little progress to resolve this problem.

system makes me jump to this page and says"this page is only available for Paid Member"

and this page has also some problem the red button you can see in the center to encourage users to see the plans is not working. under the button to back home is working.

some of my back-end code

Also I have done re-registration my test user account to Paid Member, but same issue has occurred.

Thank you GOS!! for answering to my question.
I added my site information on Forum about the problem.
What is the problem… What can I do?

Additional information. I thought it was a bug that occurred only with the paid membership plan, but I was able to confirm that the same phenomenon occurs with a regular registered member account. Do you think these are the same cause? By the way, sometimes page loading works well, sometimes it doesn’t work well, but … re-access every page of my browser, I can often do well at the first time. Why…My wi-fi network problem???


①Login bar in my site


②And try to access my account…(OK,this time has done well)


③but sometimes system says to me"You don’t have permission to access to this page!"but this time the red button in the center that promotes me to back home page of this site works.

As I mentioned earlier the red button encourage users to see the Paid Plans does not work( I check the red button by my mouse right click and I used address copy…I discovered that has my home page link address , that is not the page to choose “which paid plan you want?”)

Please understand that we are unable to debug or rewrite complex code and page configurations. If you feel that there is a bug in Corvid, then please try to create a test page with the minimum scenario in which the problem appears to help us investigate the issue properly.

If you feel that this is not related to your code, you can contact the Wix support team .

Thank you for your understanding.

thank you Yisrael.
I tried that to make minimum scenario First.

I deleted all the code I made…but no change…
so I decided to contact the Wix support team.
If this problem is resolved, please tell me how to use the repeater(minimum question) later!
thank you Yisrael !!!

Yes as mentioned above by Yisrael, if it is happening with no code on your page, then it is going to be a bug somewhere within Wix that Wix Support will help you with and not this Wix Corvid Forum.

With the screenshots supplied you are using the Wix Members app…

So as you are using Wix Users, are you testing it on a fully published site and not just through the preview mode in the Wix Editor?

Plus, as the My Members app will only show the data for that specific member, are you trying to access other members pages as if you do you won’t have the correct permissions to do so.

Finally, note that if you do test your site in preview mode, that you are doing so as Admin and so will be able to preview all the pages.

As for using repeaters with code, you are best to have a read of the Wix API Reference section for Repeaters.
https://www.wix.com/corvid/reference/$w.Repeater.html

Plus, this little youtube video is a great start.
Modify repeater items using Wix Code

Also, Yisrael has a great example that you can open in your Wix Editor that shows how to work with repeaters and inputs inside (inline) and outside (global) of them.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-input-repeaters

Thanks a lot GOS for your kindness I feel the warmth of people Even if this was your job…thanks.

Yes I’m using wix-users API.And I’m testing with Preview mode(by admin permission) and by a fully published site(by my test user account) both.

My Member app? you mean that…my account page? NO, I haven’t coded that page. because I know that…Users cannot see(access) other user’s account pages except such as blog pages that was opened by users to public.

I coded other custom pages I made. Only Paid Member can use. And I use PrivateMembersDataCollection’s data(Picture and nickname)there for building communicating system(something like messaging app)only for panic disorder patient users. Users can post to a specific collection database that can remain message 15min(Most panic attacks can be done within 15 minutes) by button click “help!!!(I’m in panic attack!!!)” and site shows to other users. Other users can help the user in panic by messaging to the user. So I’m considering to use the PrivateMembersDataCollection’s data(Pictures and nickname)to show the users to help users to recognize who sent to me this message? or, for the message sender can explain who I am to the message receiver.

this can’t? by "suppressAuth: true"query to PrivateMembersDataCollection.
or GOS you mean that the users can only use(reference by wix-data query) the user’s own PrivateMembersData property(such as Picture,nickname)? I’m not sure about that.

For now, I’ll wait for a response from support. I can only do that now.or just sleep in bed to dream that this bug was resolved in tomorrow. Now I can only do this “sleep!!!” with saying "It was quite a progress today, right? "

thanks GOS again and again.

The Wix Members app and the Members/PrivateMembersData collection is only readable by the site member themselves.
https://support.wix.com/en/article/corvid-wix-members-privatemembersdata-collection-fields

However, like you have said you can use Wix Data Options to suppress it in your backend code.
https://www.wix.com/corvid/reference/wix-data.html#WixDataOptions