Jump to content

Where to find the callback php files for gateways?


Recommended Posts

Posted

Aren't all the gateway callbacks more or less the same

Configure::set("Blesta.gw_callback_url", "http" . (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != "off" ? "s" : "") . "://" . (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : "localhost") . WEBDIR . "callback/gw/");

Specifically for paypal the notify url is built

'notify_url' => Configure::get('Blesta.gw_callback_url')
                . Configure::get('Blesta.company_id') . '/paypal_payments_standard/?client_id='
                . $this->ifSet($contact_info['client_id']),

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...