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
-
Router page
-
getCurrentMemberOrders()
-
somehow interrogate the payment status return (only) to return either PAID or other
-
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