aveeva Posted May 15, 2019 Share Posted May 15, 2019 I have a form, details getting from customer and calculate the grand total, here how can i pass my grand total value to ccavenue payment gateway page and getting payment form customer? code : https://www.pastiebin.com/5cdbae859bb64 Quote Link to comment Share on other sites More sharing options...
ginerjm Posted May 15, 2019 Share Posted May 15, 2019 That would involve knowing how to interface with the 'ccavenue' gateway, ie, API. Do you have the literature for that in front of you? PS - whatever that link is that you provided, be advised that not many people here click on "things" that people post. We tend to trust relevant code that is posted by the authors who are seeking assistance. Quote Link to comment Share on other sites More sharing options...
Barand Posted May 15, 2019 Share Posted May 15, 2019 The answer is - you wouldn't. You cannot trust any data coming from a user source. The only data you should accept from the form is what was bought (eg product_id) and qty. You would then query your database to get the product prices and do the totalling before passing it to the ayment gateway. Unless, of course, you would be happy to sell Ferraris for 1 rupee each 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.