Note that I have included product and quantity info in the Cart Display page at AgoraCart Main Page Settings. I have specified the setting to write Log entries. Both agoracart and 2CO are live.
At 2CO there is a place for you to put in the URL passing parameters back to AgoraCart store. Here's what it looks like (my ID number is above 200,000):
Quote:
Affiliate URL
Input the URL provided by your affiliate program
2Checkout.com supports almost any affiliate program that works off a hidden image tag on the sales
confirmation page. Fill in the <image src => string provided by your affiliate program.
To have the string populated dynamically put the following variables in the appropriate locations
and the pay routine will fill them in after the sale is complete.
$a_order - 2Checkout.com Order ID.
$a_total - Total Dollars Paid.
$a_product - Your Product ID.
$a_quantity - Quantity of Product ID Sold.
<img src = >
Example: https://affiliate.com/sale.cgi?order=$a_order&total=$a_total&product=$a_product&quantity=$a_quantity
I have tried the following URLs (for my store, powered by V-Deck):
1. The full URL resembling the example:
https://st12.startlogic.com/~sparkleb/cgi-bin/ecommerce/ac/agora.cgi?
order=$a_order&total=$a_total&product=$a_product&quantity=$a_quantity
2. Taking out the dynamics
https://st12.startlogic.com/~sparkleb/cgi-bin/ecommerce/ac/agora.cgi
3. Added a ? at the end
https://st12.startlogic.com/~sparkleb/cgi-bin/ecommerce/ac/agora.cgi?
4. Used http instead of https (Dan's suggestion from a previous reply)
http://st12.startlogic.com/~sparkleb/cgi-bin/ecommerce/ac/agora.cgi
5. and then I put in #1 again
https://st12.startlogic.com/~sparkleb/cgi-bin/ecommerce/ac/agora.cgi?
order=$a_order&total=$a_total&product=$a_product&quantity=$a_quantity
Results: I've bolded in the things I think may be clues. I examined the three logs - the Order_log viewed from AgoraCart's main page and the Shopping Cart log and access log viewable from File Manager.
All entries allowed generation of confirmation emails and none including 1 and 5 contained product details.
No URL allowed writing of information to AgoraCart's Order_Log - it was always empty.
All URLs wrote to the Shopping Cart log but only contained the last product viewed from the store even if I didn't purchase it. Both the cart numbers and the order numbers appeared to be correct.
Only URLs #1 and #5 resulted in entries to the Access Log. However these entries included a shopping cart number somewhat different from that displayed on earlier pages at the store and at 2CO. 1106909183 vs 1106908986 in the access log for URL #1 and vs. 106912721 in the access log for #5.
Anyway, I'm sorry, I know this is a lot of information, but does anyone know how I can get the product details into the emails so I know what to send buyers?
Thanks
Wayne