Jump to content

How to pass my form total value to CCAvenue Payment Gateway?


Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.