I am trying to add functionality to a website I am starting to create, which is a bit like a pay-per-view video channel, where a user (without registering) would go onto my online store and purchase a product, which in this case would be an automatically-generated passcode.

The user would receive the passcode via email and then use it to gain access to a specific (hidden/private) part of the website. The passcode would automatically expire a certain amount of time after it is first used, such as a few days.

I have done a bit of research and come across various membership plugins, such as MemberPress and Restrict Content Pro. However, these do not do what I require. I don't want the user to create an online account; I simply want a passcode to be generated when paid for through the online store.

Is this possible? Could someone point me in the right direction for a plugin, or even a tutorial that explains how to do this? Thanks!

  • Hi James! This question might be off-topic for this site as it's about recommending a plugin and this site is more geared towards specific development quesitons. Maybe someone can recommend a plugin but otherwise to build it yourself would be a lot of programming work so it sounds more like you'd need to hire a Wordpress developer to build what you need.
    – mozboz
    Jun 30, 2020 at 9:34
  • Hi there! Thanks so much for your reply. I really appreciate it. I'm still learning about developing with WordPress and it is quite a unique feature I am after, so I will see what I can do. I guess it would be quite expensive getting a developer to make something specific, so I may just have to come up with an interesting workaround!
    – James
    Jun 30, 2020 at 9:50


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.