Page 1 of 1

How to capture the values in the url after redirect

Posted: Sun Oct 04, 2015 9:12 am
by johnfelix_j
Hi All,

The system plugin I created redirects user to api after successful activation the api redirects me again to my site using the callback url provided. How to capture the values in url after redirect. The page redirects me to com_installer.

Here is the url with additional parameters returned from api.

I use joomla redirect the values given redirected from api.

index.php?option=com_installer&done=true&rcode=b34741a0d1ac2ddb8bda0f8539310a5b38fa1051&ccode=0c1b0228ee899b027a4185b26220704f8feb08a9

I need to capture the rcode and ccode values returned from api and store it in table.

Help needed.

Thanks.

Re: How to capture the values in the url after redirect

Posted: Mon Oct 05, 2015 10:06 am
by harperlala
did you try to use getVar() or getstring from joomla api?

Re: How to capture the values in the url after redirect

Posted: Mon Oct 05, 2015 11:36 am
by johnfelix_j
Dear harperlala,

The problem here is the url get redirected along with the values to com_installer. How to user getvar here in this scenario.

Kindly suggest.


Thanks