Jump to content

Need Help! [Payment Gateway Create]


dj_ars

Recommended Posts

  • 1 month later...

Me too...

I need it for a validation script (initiated by the bank, before letting the client pay), that checks that the POSTed data have not been tampered...

 

This means, that I will have to check the AMOUNT for a specific INVOICE_ID and answer (OK or NOK)

 

Is there a built-in function I can use to retrieve the amount?

In any other case, I will have to query the dB. But I do strongly prefer the 1st solution...

 

Any hints ?

Link to comment
Share on other sites

I too am running into the problem.

 

If you Initiate a txn, then when the txn Id is logged with the amount, try to simulate a payment, but before paying go back to the Invoice in Admin. Change the logged amount and save and then go back to the portal and pay. Perfect way to check this.

 

You will observe that payment will proceed with the old amount but when client receives invoice, he would be considered to have paid the changed invoice value.

 

This way, dubious clients can change invoice value.

 

Anyone know how to check amount for invoice_id before answering OK?

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