- Posts: 70
- Thank you received: 3
checkout/end.php
7 years 11 months ago - 7 years 11 months ago #302040
by virusys
checkout/end.php was created by virusys
Last edit: 7 years 11 months ago by virusys.
Please Log in or Create an account to join the conversation.
7 years 10 months ago #302052
by nicolas
Replied by nicolas on topic checkout/end.php
Hi,
Since $this->html is not empty, it's not that THANK_YOU_FOR_PURCHASE which you see there.
The THANK_YOU_FOR_PURCHASE you see comes from the plugins/hikashoppayment/XXX/XXX_end.php file of your payment plugin where XXX is the folder name of your payment plugin.
Since $this->html is not empty, it's not that THANK_YOU_FOR_PURCHASE which you see there.
The THANK_YOU_FOR_PURCHASE you see comes from the plugins/hikashoppayment/XXX/XXX_end.php file of your payment plugin where XXX is the folder name of your payment plugin.
Please Log in or Create an account to join the conversation.
7 years 10 months ago #302059
by virusys
Replied by virusys on topic checkout/end.php
Thanks Nicolas - now I think I get it.
RE: the "Return url" parameter of the specific configuration section of the payment plugins - is this url intended to be a branch point where end.php never executes and you see the "Return url" instead at the end of the process? Like a custom Thank You page?
RE: the "Return url" parameter of the specific configuration section of the payment plugins - is this url intended to be a branch point where end.php never executes and you see the "Return url" instead at the end of the process? Like a custom Thank You page?
Please Log in or Create an account to join the conversation.
7 years 11 months ago #302060
by nicolas
Replied by nicolas on topic checkout/end.php
Hi,
It's something like that.
It's a bit more complex.
First, you have the end.php
It can either display a generic thank you message or some HTML coming from the payment plugin.
In most cases, payment plugins will use that to give the HTML of a form or a URL which will redirect to the payment gateway. But if the payment plugin is offline ( like check, banktransfer, etc) it will display its HTML from its end.php file (if any), and if a "return URL" is set in that offline payment plugin, then it will direct there instead of displaying its HTML.
Second, you have the after_end.php
This one is used after a customer returns from a payment gateway (after the payment).
It can either display a generic thank you message. And if the "return URL" parameter of the payment method is set, then it will redirect to it instead of displaying after_end.
It's something like that.
It's a bit more complex.
First, you have the end.php
It can either display a generic thank you message or some HTML coming from the payment plugin.
In most cases, payment plugins will use that to give the HTML of a form or a URL which will redirect to the payment gateway. But if the payment plugin is offline ( like check, banktransfer, etc) it will display its HTML from its end.php file (if any), and if a "return URL" is set in that offline payment plugin, then it will direct there instead of displaying its HTML.
Second, you have the after_end.php
This one is used after a customer returns from a payment gateway (after the payment).
It can either display a generic thank you message. And if the "return URL" parameter of the payment method is set, then it will redirect to it instead of displaying after_end.
Please Log in or Create an account to join the conversation.
7 years 10 months ago #302091
by virusys
Replied by virusys on topic checkout/end.php
OK - perfect.
Thanks very much for the explanation! It helps to understand how things work.
Thanks very much for the explanation! It helps to understand how things work.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds