I am using following code to create order using rest API. $apiURL="https://domain.com/index.php/rest/V1/carts/mine/payment-information"; $data_string =json_encode(array("paymentMethod"=>array("method"=>"banktransfer"),"billing_address"=>array("customer_id"=>100,"region"=>"Test Region","region_id"=>25,"country_id"=>"US","telephone"=>"1234567890","postcode"=>06401,"street"=>array("0"=>"testing"),"city"=>"testing","firstname"=>"John","lastname"=>"Doe","region_code"=>"NV"))); $ch = curl_init($apiURL); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Authorization: Bearer ".$token,"Content-Type: application/json")); Order is created but no email is sent. In admin section “The order confirmation email is not […]
Yearly Archives: 2019
When I click on button Create Merge Fields i got error in log file 2019-10-29T16:47:37+00:00 DEBUG (7): Merge Max Limit Exceeded for Api Call: [https://us15.api.mailchimp.com/3.0/lists/7e3c61605f/merge-fields/] using method [POST] Detail: [You have exceeded the maximum number of 30 merge fields for this list.] Params: {“name”:”Middle Name/Initial”,”type”:”text”,”tag”:”MNAME”,”public”:true} i use last mailchimp extension […]
I am trying to use default Color Picker component of Magento. If I edit products individually the color picker works perfectly. Once I try the update attributes action from Catalog->Products page I get: 1 exception(s): Exception #0 (ReflectionException): Class colorPicker does not exist Exception #0 (ReflectionException): Class colorPicker does not […]
I have a system dual booting Linux and Windows 10. After about 10-15 minutes of using Windows 10 the system hangs (no BSOD, just a completely unresponsive desktop.) After a soft reboot, the main SSD (/dev/sda) is missing from BIOS, and the system can’t be booted. After a hard reboot […]
Could you help me creating a formula that makes it unnecessary to create the column D and gets the result using only one cell. I guess you would have to use an array formula but I can’t figure it out. I’ve used that formula in cell F2, but I would […]
I use 3d graphics software that has you press middle mouse button to pan around. Pressing and holding the middle mouse button for longer periods of time unfortunately puts a lot a strain on my wrist. I heard something about some feature where you can press a button and keep […]
So I was having a bit of trouble with Minecraft demanding I install 64 bit Java (I already had 64 bit) and so I decided to reinstall Java. I uninstalled my old Java, downloaded the off-line installer and I get an error along the lines of “Could not creat the […]
I did conditional formatting in cells that contain numbers. Those numbers are the ones that have different colors. I need to count the number of cells that have red numbers, green numbers and blue numbers. Which VBA code should I use? I have never worked with VBA before. Thank you.
Debugging is an essential part of software development. It’s through debugging that we know what’s wrong and what’s right, what works and what doesn’t. Debugging provides the opportunity to assess our code and fix problems before they’re pushed to production. In the React Native world, debugging may be done in […]