Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

CCAvenue Integration work around -- help needed


Recommended Posts

Hi ,


I have to integrate CCAvenue in payment modules of my shopping cart.

I was successful in integration and made one payment successfully.

But the problem is coming with subsequent payments.


When I attempted to make subsequent payments, I was shown the error,


When went through the code, I found that the orderId that have to be sent as part of CCAvenue *required* parameters is being duplicated.

I wanted to synchronise this number with that of 'Order_id' generated in checkout_process.php after the payment is processed.


Any work around for this problem?



Link to comment
Share on other sites

If you have made a successfull transaction through CCAvenue, then you must be passing some value as Order_id to CCAvenue gateway.. what is that variable (order_id)??



Link to comment
Share on other sites

The Variable used to pass the orderId is 'orderID' of ccavenue.

But my problem is nt that.

For each and every transaction, ccavenue requires us to send

an unique orderId.

In oscommerce that orderId is generated only after making

a successful payment.


So Now I have to synchronize this orderId( to be sent to ccavenue) with

that of the generated one(after making successfulpayment in checkout_process.php by oscommerce).


I know this can be done by taking eanother field in orders table of db, But I dont want to change the structure of that.


Any help in this would be of great favour.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...