using a router page and payment status

I am new to Velo and am learning the syntax slowly.

I would like a payment status check that would either redirect a client to a forum page on the site if PAID or if not paid redirect to a message.

I think i need to use a

  1. Router page

  2. getCurrentMemberOrders()

  3. somehow interrogate the payment status return (only) to return either PAID or other

  4. and then redirect accordingly with an if, then type line
    Can anyone help with the code

I presume the link to the forum on the main site would redirect to the router (I do not think any data needs to be sent).
I presume that the velo code on the router page would do the importing and checking and finally, redirecting.

Thanks in advance

heshan
www.outoftheboxmedics . com

HI here

thanks to the few who looked at this but my question is wrong
this thread can be ended