-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.31
-- Browser(s) name and version -- : N/A
Hi
I have a cart workflow that can either go via PayPal or use a voucher in which case no payment is necessary.
At the end of checkout i am redirecting to an order summary page to give the user information, a serial and download link.
This works fine for PayPal when i redirect from after_end.php and the payment process completes, however for the voucher the process seems to go to end.php and never gets to after_end.php.
If i put a redirect in end.php, things are OK for the voucher but when Paypal is selected as a payment method the process redirects before it gets to go to PayPal so no payment is taken.
Ideally i'd like to check for the payment method in end.php and conditionally redirect but not sure how to do this. Maybe there is a better way ?
TIA,
Ian