Hi,
The aim is simple, trigger a URL when the virtual product download email is sent to the customer.
One triggered URL per product bought (virtual only.)
Once the email is triggered, I need a loop that will take each product info :
1 – reference # (From back end ref number field), and; (number one is used as exemple)
2 – member account email adress
For example, the script sending the download email (OrderHistory.php, i think) already contains these variables.
But i need to post a URL to a specific adress INVISIBLY in order to trigger another script.
Manually i would trigger the email like this in the browser adress bar:
http://www.mydomain.com/a_folder/process.php?item=1&smail=email-AT-email.com
Above URL triggers an email sent to mentionned email and containing instruction about product 1.
So, i want to use ;
$product_reference_number = 1 ;
$curstomer_email = [email-AT-email.com] ;
And loop it to trigger an email for every product bought (Virtual only)
So when the loop executes, i would have the URL posted.
loop1 /// http://www.mydomain.com/folded/process.php?item=1&mail=email-AT-email.com
loop 2 /// http://www.mydomain.com/folded/process.php?item=2&mail=email-AT-email.com
Basically, these URL trigger another script!
I need this asap…
Any takers!