Openvpn accounts as digital product

I have a VPS server with Openvpn installed and I rent VPN accounts (.ovpn files) monthly.

I use this script : for management.

When someone asks for an account I have to :

  • Collect the money
  • Run the script
  • Download .ovpn file
  • Send to the user

And next month I have to check and collect again, if user doesn’t answer or doesn’t pay I have to run the script again and delete the account.

I need to automatize this process and I was thinking about using woocommerce to achieve it, but I have no real idea about where to start.

I think the easiest way is to find some kind of digital products plugin, and configure to auto-run the script each time a user buys an account, but then I need to deactivate, so I think I will be needing a subscriptions plugin to control this.

The only thing I found is this old topic : but I didnt get it at all.

Any kind of advice or start point is appreaciated, it can be any kind of e-commerce platform btw.


Read more here: Openvpn accounts as digital product

Leave a Reply

Your email address will not be published. Required fields are marked *