Forum Academy Marketplace Showcase Pricing Features

Qr code redirect through app to external sight

I need to redirect a user to an external website but yet control whether they are allowed to based on subscription expiry status. I created a QR code from a URL to a page in my bubble app to handle the redirection. The way I’ve implemented this is by defining a Bubble target page that accepts URL parameters that identify the subscriber’s account info, and the a code indicating the target site they want to access. The page has a pageload workflow that extracts the parameters, determines if the subscriber’s account is active and, if so, executes an “open an external website” action. If the account is not active it proceeds to an internal error page. Is this the best way to handle this redirect or can/should a backend workflow be defined to do the same thing?