I wanted to know what PayPal was sending back to me in their return post. I added a variable to mod.simple_commerce.php to let me see it.
In the perform_actions function, somewhere that all the post variables are set, I added this:
$debug = '';
foreach($_POST as $key => $value)
{
$debug = $debug . $key . ': ' . $value . ' ';
}
$this->post['all'] = $debug;
This let me put {all} at the bottom of my email template.
Category:Commerce -> PayPal Category:Hacks
