I am trying to setup a script with 2checkout. What is the best way to insert an order into database once an order is placed. I am sending some custom variables through checkout process.. these variables are passed back to my pending or approval url but not in INS script..
Does INS script handle any custom parameters and pass it back?
Thanks
2 Comments »
+0
-0
Hello imranexpt,
Our Instant Notification Service will not store and pass custom parameters. If you are just trying to insert your order from a customer then you can collect any custom parameter by using the normal passback parameters which are sent to your Approved URL instead of using the order created INS message.
Once you have created the order in your systems database any future INS call can be connected to the order in your database by using the 2Checkout order number parameter.
+0
-0
Hi
I have just confirmed with tech support that one custom parameter is returned using INS.
Send an order parameter called merchant_order_id.
This is saved in the order on the 2CO vendor system.
INS passes it back as vendor_order_id
Brendon