Jump to content

Tokenisation Gateways Developement Questions.


phannh

Recommended Posts

Hi all,

 

I'm going to develope a tokenisation gateway module.

 

Can you tell me _storeremote function will be called before or after _caputre function.

 

In _storeremote function, do i need to update gatewayid (token) to table tblclient manually or i just need return something like this

return array(
   "status" => "success",
   "gatewayid" => $results["token"],
   "rawdata" => $results,
);

 

I have these functions in my gateway module file:

function merchantgateway_MetaData()
{   
}


function merchantgateway_config()
{   
}


function merchantgateway_storeremote($params)
{    
}

function merchantgateway_capture($params)
{    
}

 

That's enough or may i misses something ?

 

Finally, how to debug _remote and _capture function, i haved tried to log some variables inside both functions, but only variables in _capture function were logged.

 

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated