I'm building a payment form using PayPal Redirect.
I've build a form specifically for the IPN which obviously does not have a "Display Section".
I'm reading the relevant forms but don't know how to move the data from {var:read_data3.Data.Info} to the standard {data.Info} for saving without using a "Display Section" with it all set up.
I'm assuming there will be a simple PHP code to do this, I've tried doing it using:
$this->data['Paid'] = {var:read_data4.Data.Paid}+{var:read_data3.Data.Purchase};
{var:read_data4.Data.Paid} being the value read from the students file.
{var:read_data3.Data.Purchase} being the value read from the purchase file.
['Paid'] being the value to replace the Paid field in the students file upon Save.
The ['Paid'] remains in a place of none existance.
I've build a form specifically for the IPN which obviously does not have a "Display Section".
I'm reading the relevant forms but don't know how to move the data from {var:read_data3.Data.Info} to the standard {data.Info} for saving without using a "Display Section" with it all set up.
I'm assuming there will be a simple PHP code to do this, I've tried doing it using:
$this->data['Paid'] = {var:read_data4.Data.Paid}+{var:read_data3.Data.Purchase};
{var:read_data4.Data.Paid} being the value read from the students file.
{var:read_data3.Data.Purchase} being the value read from the purchase file.
['Paid'] being the value to replace the Paid field in the students file upon Save.
The ['Paid'] remains in a place of none existance.