Jump to content


Photo

Nexus gateway developement


  • Please log in to reply
No replies to this topic

#1 Luis Manson

Luis Manson

    Spam Happy

  • Members
  • PipPipPipPipPip
  • 707 posts

Posted 12 November 2011 - 01:50 PM

Some time ago y developed a small gateway code for my nexus, but after the upgrade its not working, i checked and made some changes to my code according to the docs... but since im not a coder some stuff is kinda harder for me to understand, my previous version was made with help of old (and UNencoded) gateway files from nexus

My old code contained two variables which i send to my gateway, the success and process URLs which i had defined with something like

$this->ipnUrl = ipsRegistry::$settings['base_url'] . 'app=nexus&module=payments&section=receive&validate=mercadopago';
$this->returnUrl = ipsRegistry::$settings['base_url'] . 'app=nexus&module=payments&section=receive&check=mercadopago';
$this->cancelUrl = ipsRegistry::$settings['base_url'] . 'app=nexus&module=clients&section=invoices';


how ever now im not sure if this is OK or how/where to define that URL... it used to be on:
public function __construct( $registry )
	    {
			    parent::__construct( $registry );

any help? the docs dont specify which URLs do i have to send to get back to




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users