Daily Archives: December 18, 2019
I need to replace an old SOAP webservice and be a middle man to push to new web service. Trying to use nusoap but I can’t seem to match the WSDL. I don’t know how to register multidimensional arrays as the input. It there a trick to accept the current […]
I wrote a custom api for magento 2.3.1 When i call the endpoint that i was created i get the following error { "messages": { "error": [ { "code": 500, "message": "Server internal error. See details in report api/1560842508114" } ] } } Report detail: “Fatal Error: ‘Uncaught Error: Cannot […]
I’ve been trying to get an offline payment option such as “Check / Money Order” or “Purchase Order” to put an order in the status of processing or completed. We are selling downloadable products and for a few of our customers we want them to be able to be invoiced […]
When I make a payment using both gift card and by redeeming points, both the payments go through but my gift card is charged the grand total instead of (grand total-rewards currency amount). On the cart calculations are done properly but this problem only arises after I press confirm order. […]
I found the following errors in the exception.log and debug.log files in /var/log folder: [2019-12-17 16:23:05] main.CRITICAL: The element "product.info.options" can't have a child because "product.info.options" already has a child with alias "default". {"exception":"[object] (Magento\Framework\Exception\LocalizedException(code: 0): The element "product.info.options" can't have a child because "product.info.options" already has a child with […]
I’m struggling trying to ship an order just after the order is created. In the event sales_order_place_after I’m executing the following code: use MagentoSalesModelOrderShipmentTrackFactory; use MagentoSalesApiDataShipmentCommentCreationInterface; use MagentoSalesModelShipOrder; use MagentoSalesModelConvertOrder; use TransomPakkeLoggerLogger; use MagentoSalesApiDataOrderInterface; /** * Custom shipping model */ class CreateShipment { protected $trackingFactory; protected $commentInterface; protected $shipOrderService; protected […]
I know how to share a folder, and I know how to recursively give permissions to everything in a folder. What I would like is to do this automatically. I want to have a folder that is never owned by any user, it is always shared, anything put into there […]
Usually, I am able to login using my phone but I want to use my laptop when I bring it and it opens up the webpage automatically but the address says that I am unable to open the page so I am unable to get internet (tried with school ethernet […]