Hi to all!
I want to know is it possible on OC4 to have catalog public endpoint in my module? Something like:
...index.php?route=extension/company_name/catalog/controller/payment/file_name/method_name
It was possible in version 3, but looks like same approach not working on v4.
Thanks and Regards!
Looks like I will answer to myself.
When I try to open my endpoint into the browser I got html page with message "The page you requested cannot be found!", but when I call the same URL via Postman it works. So I can receive messages on it.
I hope this can help someone else
When I try to open my endpoint into the browser I got html page with message "The page you requested cannot be found!", but when I call the same URL via Postman it works. So I can receive messages on it.
I hope this can help someone else

To be more precise - the path must be: index.php?route=extension/company_name/payment/file_name|method_name.
Keep in mind the last separator must be "|"! If you use "/" you will not open the endpoint but some default 404 page.
At least this is my experience.
Keep in mind the last separator must be "|"! If you use "/" you will not open the endpoint but some default 404 page.
At least this is my experience.
Who is online
Users browsing this forum: No registered users and 4 guests