1b.app
Link copied -

Fix link to token request in Opencart

We set up the integration with opencards, connected the action of importing orders into the system.
The order was received in the system without products, and with data "e" in all imported fields https://i.imgur.com/2hi1XXf.png , https://i.imgur.com/zjJkSSV.png
In the logs, we found data that the request is made via the link https://kapterka.com.ua/index.php?route=api/login/, which gives the answer [code] => 404
Checked that the request without the last "/" in the link should be correct (checked the request in Postman, works fine without the slash https://i.imgur.com/jKWcakV.png )
changed the link in the cron.php integration file to test, but this change did not fix the situation https://i.imgur.com/iu3z4TI.png
We also tried on the OpenCards side to configure redirection from the ".../login/" link to the ".../login" link, this did not solve the problem.
Tell me if it is possible to make a request to receive processes from the system via the link https://kapterka.com.ua/index.php?route=api/login, and if so, how to configure it? (Openkart version 2.2(2+), box https://blokpost.1b.app/)
Original question is available on version: ua

Answers:

if the link is incorrect, then you have specified the wrong version of opencart in the settings. Check this moment
16.08.2023, 22:39
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment