Jump to content

Somes questions about dev gateway paiement module


ndb14

Recommended Posts

Hello,

 

I'm starting to code a new custom gateway paiement.

 

I success to send paiement to my mechant but he answer me with xml information.

 

how i can process this information ?

 

What do the callback file ?

 

Where i can setup for ask credit card information ?

 

Thanks for answer

 

Nico

Link to comment
Share on other sites

Hello,

 

I'm starting to code a new custom gateway paiement.

 

I success to send paiement to my mechant but he answer me with xml information.

 

how i can process this information ?

 

What do the callback file ?

 

Where i can setup for ask credit card information ?

 

Thanks for answer

 

Nico

 

you can convert the XML to json using

$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
$array = json_decode($json,TRUE);

 

then look for success message in the response and return/ add the transaction ID to the yourgateway_capture function

Link to comment
Share on other sites

Hi,

I don't understand how its working

 

My command is well send to the merchand. I set a lot of log command (and write to my own log files). But no log !

I don't understand what function is called when the answer from the merkant

 

Some to explain to me please ?

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