Jump to content

Custom Payment Gateway


WPCrazy

Recommended Posts

I'm developing a custom payment gateway module. But facing an issue while writing callback script. To validate payment, I need to retrieve merchant id and merchant key which was configured in gateway setup page.

 

In module main file, I've coded this way

 

"username" => array("FriendlyName" => "Merchant ID", "Type" => "text", "Size" => "20", ),
"security" => array("FriendlyName" => "Security Key", "Type" => "text", "Size" => "20", ),

 

which can be get using $gatewayusername = $params['username']; in same file to submit form in gateway.

 

But couldn't understand how can I get those values from callback page. I need hose to verify hash (similar to 2checkout).

 

Need your help.

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