Forums

Paypal Pro errors not showing up

GreyHead 06 Apr, 2012
Hi BNRBranding,

As far as I know the trial version is fully functional.

What API error are you getting?

Bob
Max_admin 11 Apr, 2012
Hi BNRBranding,

You need to inject the PayPal error/text in the errors array of Chronoforms through a small piece of code in a custom code action (under the "on fail" event of your PayPal action):


<?php
$form->validation_errors[] = $form->data['_PLUGINS_']['paypal_pro']["response_text"];
?>


You can see all the response paths using a "Debugger" action after the "PayPal" action.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.