The custom folder is a subfolder of the component admin folder

// to run this script for all orders, save as success_all.php
// to run this script for product 'sku01', save as success_sku01.php

These are some parameters that can be used in the success scripts

$order_id 
$mosConfig_sitename
$mosConfig_live_site
$mosConfig_mailfrom
$mosConfig_fromname 
$mosConfig_lang 
$vendor_currency
$vendor_image_url
$vendor_mail 
$vendor_name 
$vendor_store_name 
$your_ip
$hostname

$order (Array)
(
    [order_id] => 1
    [user_id] => 63
    [vendor_id] => 1
    [order_number] => 63_6ab22fab83d25b5d56f881e5194dd
    [user_info_id] => 652ff479af2103be028b92b67a48efae
    [order_total] => 26.74000
    [order_subtotal] => 2.00462
    [order_tax] => 0.17
    [order_tax_details] => a:0:{}
    [order_shipping] => 24.57
    [order_shipping_tax] => 0.00
    [coupon_discount] => 0.00
    [coupon_code] => 
    [order_discount] => 0.00
    [order_currency] => USD
    [order_status] => C
    [cdate] => 1224113733
    [mdate] => 1224113733
    [ship_method_id] => standard_shipping|DHL|EU+ &gt; 12kg|24.57|7
    [customer_note] => 
    [ip_address] => 81.151.40.88
    [address_type] => BT
    [address_type_name] => -default-
    [company] => test
    [title] => Mr.
    [last_name] => Sumner
    [first_name] => Nick
    [middle_name] => 
    [phone_1] => 0845 257 8717
    [phone_2] => 0845 257 8717
    [fax] => 
    [address_1] => Hayleys House, Greenhead Farm
    [address_2] => Hincaster
    [city] => Milnthorpe
    [state] => EN
    [country] => GBR
    [zip] => LA7 7NG
    [user_email] => support@tele-pro.co.uk
    [extra_field_1] => 
    [extra_field_2] => 
    [extra_field_3] => 
    [extra_field_4] => 
    [extra_field_5] => 
    [perms] => shopper
    [bank_account_nr] => 
    [bank_name] => 
    [bank_sort_code] => 
    [bank_iban] => 
    [bank_account_holder] => 
    [bank_account_type] => Checking
)

$product (Array)
(
    [product_id] => 8
    [vendor_id] => 1
    [product_parent_id] => 0
    [product_sku] => P02
    [product_s_desc] => Cut rings around wood.  This saw can handle the most delicate projects.
    [product_desc] => <ul><li>Patented Sightline; Window provides maximum visibility for straight cuts </li><li>Adjustable dust chute for cleaner work area </li><li>Bail handle for controlled cutting in 90 to 45 applications </li><li>1-1/2 to 2-1/2 lbs. lighter and 40% less noise than the average circular saw </li><li><strong>Includes:</strong>Carbide blade </li></ul><br /><strong>Specifications</strong><br />10.0 AMPS <br />4,300 RPM <br />Capacity: 2-1/16" at 90, 1-3/4" at 45
    [product_thumb_image] => b4a748303d0d996b29d5a1e1d1112537.jpg
    [product_full_image] => 9a4448bb13e2f7699613b2cfd7cd51ad.jpg
    [product_publish] => Y
    [product_weight] => 10.0000
    [product_weight_uom] => pounds
    [product_length] => 0.0000
    [product_width] => 0.0000
    [product_height] => 0.0000
    [product_lwh_uom] => inches
    [product_url] => 
    [product_in_stock] => 28
    [product_available_date] => 1072828800
    [product_availability] => 3-5d.gif
    [product_special] => Y
    [product_discount_id] => 1
    [ship_code_id] => 
    [cdate] => 950321795
    [mdate] => 1224111827
    [product_name] => Circular Saw
    [product_sales] => 5
    [attribute] => 
    [custom_attribute] => 
    [product_tax_id] => 2
    [product_unit] => 
    [product_packaging] => 0
    [child_options] => N,N,N,N,N,Y,,,
    [quantity_options] => none,0,0,1
    [child_option_ids] => 
    [product_order_levels] => 0,0
)
