Hi there,
In my payment processor I'm trying to have it execute some code on success as per the stub in authorize.net
As I couldn't get this working the way I expected it to I've added some new sections to the ctp to allow execution there by copying the code from the custom actions ctp and modifying the names and then writing the code as follows in the php:
// ####################
if ($this->events['declined'] === 1)
{
echo $params->get('ondeclined');
}
// ####################
The problem is that any php in ondeclined seems to be removed from the output.
Is this by design or am I missing something.
Are these kinds of things covered in the cookbook?
Thanks
Paul
In my payment processor I'm trying to have it execute some code on success as per the stub in authorize.net
As I couldn't get this working the way I expected it to I've added some new sections to the ctp to allow execution there by copying the code from the custom actions ctp and modifying the names and then writing the code as follows in the php:
// ####################
if ($this->events['declined'] === 1)
{
echo $params->get('ondeclined');
}
// ####################
The problem is that any php in ondeclined seems to be removed from the output.
Is this by design or am I missing something.
Are these kinds of things covered in the cookbook?
Thanks
Paul