Jump to content

Custom Payment Gateway Responses


dhollingworth

Recommended Posts

Hi

 

I'm writing a custom payment gateway to use RealEx's RealAuth interface. The gateway formats and dispatches the transaction request as an XML message and get's an XML response.

 

I can parse that response OK; but what can I do with all the data that RealEx sends back in the response? Can WHMCS only handle "Success" or "Failed" or can I pass it back other information, like the transaction ID for example, for it to store?

 

Another example. RealEx can send back a security score for the transaction. We'd like any orders above a certain score to be flagged as risky. Is there some way of passing back this score into WHMCS?

 

The sample payment gateway module seems to indicate you can return an array including the raw data; but I can't find anyway of processing that raw data within WHMCS.

 

Anyone any suggestions?

 

Thanks

 

David

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