Jump to content

Payment Gateway Callback Page turns up blank


gingerol

Recommended Posts

Hello,

I hope someone can help me with this. I am setting up a payment Gateway for my local environment.

 

When payment is made, transaction reference and all payment details are routed to the Gateway. The Gateway seems to intepret the payment correctly, because they send back the correct replies. The problem is that this 'reply' is not displayed by my callback script.

 

How do I know the replies are returning correctly? Because on the URL address bar of the browser, I can see the correct reply, like so:

 

["http://www.mydomain.com/modules/gateways/callback/gateway.php?txnref=1000000&mertid=XXXXXXXXXXX&rsp=14&rspcode=14&rspdesc=Invalid%20Card%20Number&paytxncode=000000029623&amt=2200000&fee=0&dtime=22/Apr/2009%2009:35:33"]

 

In the above example, the Gateway correctly replies, "Invalid Card".

 

1. Why is this message not being displayed by the Callback scrip (gateway.php)?

2. Why is the transaction status on WHMCS not being updated after this 'reply'?

 

Any help will be appreciated guys. Many thanks!

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...

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