Hi,
I would like to send to the customer copy of the email configured in ipn listener.
but where and how to insert the variable $payer_email?.
Best Regards
Hi Cornelio,
In the ipn event you can use the data returned by PayPal, you can place the correct data parameter name in the "dynamic to" box of the email action.
In order to find the name of the data parameter holding the payer email, you need to make a test email with this code inside the body:
<?php
pr($form->data);
The email should be in the ipn listener of course.
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
thanks for the detailed response, but I tried to put a valid email address in the Dynamic To but does not send email.
Best Rergards
Hi Cornelio,
Did you check the variable names returned from PayPal ?
You can't put an email address in the "Dynamic to", you should only use a valid data variable name.
This is one of the things which have been simplified in version 6, so you should consider building new forms in v6 instead.
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Cornelio,
Please try to use payer_email only, no $ before it, does it work ?
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
Test OK. received the two mail: admin and buyer.
Your suggestion has been a great help.
Thank you very much max
Best Regards
Cornelio