Post by sw!tch » Sun May 13, 2012 7:18 am

This is my first post here.

Anyway, I am extending a Google Checkout API so its in compliance and the order posts into the backend, so far I have this working with callbacks, etc. Just one thing I am wondering. In my admin controller for my Payment API how can I get the store URL?

On the front-end I can just do

Code: Select all

$this -> config -> get('config_url');
but that code seems to have no function in the backend under a payment controller. Maybe I am missing something?

Any help would be appreciated.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm
Location - USA

Post by sw!tch » Sun May 13, 2012 4:40 pm

Nevermind, I guess the HTTP_CATALOG constant will work for now. Still don't understand why $this -> config -> get('config_url'); doesn't work.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm
Location - USA
Who is online

Users browsing this forum: No registered users and 11 guests