Hello. I’m currently working on a small commerce system accepting 2checkout payments. I reviewed documentation and has a few questions that I was unable to find answers myself. First of all: am I able to give customer a bill for a product which is not registered in vendor area? I want to calculate the cost for some services on my site and create the invoice in my database. Then user is being processed to 2co order page to transfer money for these services. So, I want to pass the name of product to be displayed in the order page and it’s price to be payed. This will rid my client from double creating products: one on his site and one in 2co’s system.
My second question is about keepeing one value when customer processes the order and when INS script returns he’s details when bill got paid. I wish to insert some value to the 2co button on my site and then get the same value when user clicked on this button completes the payment. Something to hold invoice code over the period of all transaction so script can recognize the user paid when the notification about payment came.
Thanks, Michael.
2 Comments »
+0
-0
You may pass in your custom order information with out having to create a product by using our third party cart parameter set. Example HTML forms which use this parameter set can be found in the advanced section of our demo site.
If you would like to pass in a custom value your may use the merchant_order_id parameter (50 characters max). The value of this parameter will be included on the order email notification, sale detail page and will be passed back as the vendor_order_id on all INS notifications. If you would like to test your script with our INS you can always use our the INS testing tool at http://developers.2checkout.com.
+0
-0
Thanks, craig. This is very helpful.