Hi all,
I would like to ask for your help.
What variables could I use on this site index.php?main_page=checkout_success to check the payment method?
Thanks for the help in advance!
Hi all,
I would like to ask for your help.
What variables could I use on this site index.php?main_page=checkout_success to check the payment method?
Thanks for the help in advance!
What are you attempting to do??
Zen-Venom Get Bitten
I want to make a "credit payment" where the customer can pay the full price to a bank in monthly parts. If they choose this credit payment, then I want to redirect the customer to the homepage of the bank. But for this I need to know what payment option the customer picked on the index.php?main_page=checkout_payment site.
Try something like this (for the checkout_success page):
Code:require(DIR_WS_CLASSES . 'order.php'); $order = new order($orders_id); //-The $orders_id value contains the ID of the customer's most recent order, set by the page's header_php.php if ($order->info['payment_method'] == 'credit_payment') { <do stuff you want here> }
It is work!
Thank You!