Web Api Plugin placing Order

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 anno tempo fa
Hello, I am working on the development of a marketplace for my app and using nopcommerce web api plugin. I am able to create customer, vendor, and all general requests, but am unable to place the order. I can add products to the shopping cart but don't know how flow  works after that. Whenever i try to send request "Create order", it gives me error:500. Can anyone kindly guide me through this. I am using the latest version.
1 anno tempo fa
Hi. Please specify which method you are using to place an order.

Jennifer.pagarba wrote:
Hello, I am working on the development of a marketplace for my app and using nopcommerce web api plugin. I am able to create customer, vendor, and all general requests, but am unable to place the order. I can add products to the shopping cart but don't know how flow  works after that. Whenever i try to send request "Create order", it gives me error:500. Can anyone kindly guide me through this. I am using the latest version.
1 anno tempo fa
I am using api-backend/Order/Create.
There is one closest to it is api-backend/OrderProcessing/PlaceOrder. Both give me error:500. I use them directly after add to cart. Don't know how to tackle this.
1 anno tempo fa
Could you please provide us with a snippet of the OrderDto or Process PaymentRequest to preparation code that you pass when you call Create or PlaceOrder for analysis

Jennifer.pagarba wrote:
I am using api-backend/Order/Create.
There is one closest to it is api-backend/OrderProcessing/PlaceOrder. Both give me error:500. I use them directly after add to cart. Don't know how to tackle this.
1 anno tempo fa
Well, earlier I was getting error 500 but just now I am able to successfully create order through API plugin. But when I try to see details on my web dashboard, I get an error, I have attached the images links along with this post.

https://drive.google.com/file/d/1xAuGw70iccy4LdxOPoOgc-6d_DLkIKUU/view?usp=sharing
https://drive.google.com/file/d/1bur5F_mE8GjWZjch-_NGxmdxKhz8L1hi/view?usp=sharing
1 anno tempo fa
Unfortunately, I do not see all the data that you insert into the order, according to the error text, I can only assume that the data in the CheckoutAttributesXml or CustomValuesXml field is entered in the wrong format

Jennifer.pagarba wrote:
Well, earlier I was getting error 500 but just now I am able to successfully create order through API plugin. But when I try to see details on my web dashboard, I get an error, I have attached the images links along with this post.

https://drive.google.com/file/d/1xAuGw70iccy4LdxOPoOgc-6d_DLkIKUU/view?usp=sharing
https://drive.google.com/file/d/1bur5F_mE8GjWZjch-_NGxmdxKhz8L1hi/view?usp=sharing
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.