1b.app
Link copied -

We need an example of a request by which we receive an order from OpenCart

Hello!
In the box (screen), sometimes we get the client's address not the same as in the OpenCart admin ( ). We cannot find fields with such data in the database. Give an example of the request that the box sends via the API, or help to find out from which field the address is pulled.
Order example: https://box.360auto.com.ua/admin/customorder/order/17203/edit/
Original question is available on version: ua

Answers:

Good afternoon. You gave a screenshot from the payment_ХХХ field, and the data in the box is pulled from:
shipping_country
shipping_zone
shipping_city
shipping_address_1 and shipping_address_2 (if shipping_address_1 is empty)
24.08.2022, 12:00
Original comment available on version: ua

Ярина
Personal license
in this order, shipping_address_1 is not filled with the values that appeared in the box (I am attaching a screenshot).
empirically found that if the country and zone fields are not filled, then the address box is pulled from the box. at that moment, it was found out that the client was filling in these data in the Nova Poshta application.
and if you fill in the mandatory country and zone fields in the admin (screen), then the address is pulled up well.
please tell me, is this validation of required fields done on our side or on OpenCart's side?
24.08.2022, 12:18
Original comment available on version: ua

in

Yaryna
The integrator wrote:
is this validation of required fields done on our side or on OpenCart's side?

there is no check of mandatory fields in the box
24.08.2022, 12:45
Original comment available on version: ua

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