chipperfield
New Member
Hi guys,
Still doing my upgrade of existing site from J2.5/F3.0 to J3.3.3 and F3.2. Fortunately doing this offline since it's taking some time...
The form has a radio button for the customer to choose payment method, and a separate redirect plugin for each payment method to give a different post-submission message for each payment method.
This works fine when I publish one plugin for one payment method.
If they choose Paypal we also fire the Paypal plugin, which works fine.
But when I publish more than one redirect plugin on the form they all stop working and I just return to the previous page with no message.
Each plugin has a set of instructions to the customer about how to make the payment, and a condition like:
$PaymentMethod = ('{ltsc_entries___PaymentMethod}');
$PaymentMethodRaw = ('{ltsc_entries___PaymentMethod_raw}');
if (($PaymentMethod == 'DirectCredit') OR ($PaymentMethodRaw == 'DirectCredit')){
return true;
}else{
return false;
}
Any suggestions welcome...
Thanks
Still doing my upgrade of existing site from J2.5/F3.0 to J3.3.3 and F3.2. Fortunately doing this offline since it's taking some time...
The form has a radio button for the customer to choose payment method, and a separate redirect plugin for each payment method to give a different post-submission message for each payment method.
This works fine when I publish one plugin for one payment method.
If they choose Paypal we also fire the Paypal plugin, which works fine.
But when I publish more than one redirect plugin on the form they all stop working and I just return to the previous page with no message.
Each plugin has a set of instructions to the customer about how to make the payment, and a condition like:
$PaymentMethod = ('{ltsc_entries___PaymentMethod}');
$PaymentMethodRaw = ('{ltsc_entries___PaymentMethod_raw}');
if (($PaymentMethod == 'DirectCredit') OR ($PaymentMethodRaw == 'DirectCredit')){
return true;
}else{
return false;
}
Any suggestions welcome...
Thanks