dj_ars Posted June 10, 2009 Share Posted June 10, 2009 Hi 2 all! I have this example code of callback file. How can I get the base currency price (amount) by invoice ID? I need it to check payment and then use in addInvoicePayment() function 0 Quote Link to comment Share on other sites More sharing options...
the_island Posted July 20, 2009 Share Posted July 20, 2009 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 ? 0 Quote Link to comment Share on other sites More sharing options...
gingerol Posted July 20, 2009 Share Posted July 20, 2009 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? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.