Good afternoon.
After several tests, I bought the license for the Full Paypal Plugin, but I have a problem and several questions:
1. With the Paypal Listener I only get correct results (sandbox) when the submission is "complete" but no results in the "on error" and "on novalid"
2. In the event (listener Paypal) "on verified" I have a "DB read" action that works correctly, the model is "Data142" how can I access the data read. For the moment I have achieved this:
For the "IPN" variables I access "$ _POST ['payment_status'];" (Example) and for the variables read in the table - $ form-> data ["Data142"] ["name"] (example) is there any better way to do it?
Thanks!!
Javierp
After several tests, I bought the license for the Full Paypal Plugin, but I have a problem and several questions:
1. With the Paypal Listener I only get correct results (sandbox) when the submission is "complete" but no results in the "on error" and "on novalid"
2. In the event (listener Paypal) "on verified" I have a "DB read" action that works correctly, the model is "Data142" how can I access the data read. For the moment I have achieved this:
<table style="width:70%; font-family:Arial, Helvetica, sans-serif; border:#CCC 1px solid"> <th colspan="2" style="padding-top:5px; padding-bottom:5px; font-size:16px; background:#CCC;"><strong> -www.traductores.com- </strong></th> <?php echo ' <tr><td colspan="2" style="padding-top:5px; padding-bottom:5px; font-size:16px; background:#CCC; text-align:center"><strong>'.$form->data["Data142"]["titulopedido"].'</strong></td></tr> <tr><td colspan="2" style="padding-top:5px; padding-bottom:5px; font-size:12px; background:#CCC; text-align:center"><strong>Estado Pedido: '. $_POST["payment_status"].'</strong></td></tr> <tr><td>Fecha: </td><td>'.$_POST["payment_date"].'</td></tr> <tr><td>Num. ID pedido: </td><td>'.$_POST["custom"].'</td></tr> <tr><td>Nombre: </td><td>'.$form->data["Data142"]["name"].'</td></tr> <tr><td>Apellidos: </td><td>'.$form->data["Data142"]["lastname"].'</td></tr> <tr><td>Email: </td><td>'.$form->data["Data142"]["email"].'</td></tr> <tr><td>Factura Paypal </td><td>'.$_POST["invoice"].'</td></tr> <tr><td>Factura Paypal </td><td>'.$form->data["Data142"]["importe"].' €</td></tr> <tr><td>Num. Verificación </td><td>'.$_POST["invoice"].'</td></tr> <th colspan="2" style="padding-top:5px; padding-bottom:5px; font-size:12px; background:#CCC">Rios Rosas, nº 55 - local - (esquina Modesto Lafuente) 28003 Madrid - (España)<br/><strong>Tel: 34 915 353 671</strong></th> </table>' ?>
For the "IPN" variables I access "$ _POST ['payment_status'];" (Example) and for the variables read in the table - $ form-> data ["Data142"] ["name"] (example) is there any better way to do it?
Thanks!!
Javierp