Which file is called in zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SS
There is a line in the payment modules (for instance authorize.net)
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
Which file is being called here
I dont see a file as checkout_payment.php except in the language files
Is it the header_php.php inside the includes\modules\pages\checkout_payment\ ?
I want to modify the code for payment module as I am not getting the return url to get me the order confirmation page/order id generated
Thanks
Re: Which file is called in zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '',
More strictly it's index.php as that's the front controller that manages (almost) all store side activity.
However, the place where it starts to get real specific about the processing based on the parameter passed as the main_page would be the file that you have mentioned, though there may also have been some more general cart related work done during the init processing.
Re: Which file is called in zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '',
More importantly, you should not need to edit anything outside of the payment module itself.
Re: Which file is called in zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '',
Quote:
Originally Posted by
DrByte
More importantly, you should not need to edit anything outside of the payment module itself.
Yes, I am not editing those files
Whats happening is that I am getting redirected to the checkout payment page(Step 2 of 3 - Payment Information) and shopping cart is not getting empty
I am getting ReturnCode=0 from the payment page
Code:
if ($this->authorize['ReturnCode']=='0') {
$this->transaction_id = $this->authorize['TransactionID'];
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
return;
}
Can you please help?
Re: Which file is called in zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '',
Sounds like you need to figure out why you're getting a 0 back, and whether that's good or not.
Re: Which file is called in zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '',
In checkout payment header_php.php I have put this code after the first line
$zco_notifier->notify('NOTIFY_HEADER_START_CHECKOUT_PAYMENT');
echo "I am here"; exit();
But this is not getting executed
Also, can you tell me where is that shopping payment page coming from so that I can figure out where the problem is
Thanks