As a programmer, you probably want to write elegant, maintainable, scalable, predictable code. The principles of functional programming, or FP, can significantly aid in these goals. Functional programming is a paradigm, or style, that values immutability, first-class functions, referential transparency, and pure functions. If none of those words makes sense […]
Daily Archives: October 30, 2019
I have been using PHP professionally for 3 or 4 years now. I have done a zend engineering cert used a few frameworks and am about to start a new job using symfony. I am pretty good at noticing language ‘wtfs’ and using the documentation from frameworks and tools to […]
Could you please help me? I have this error with my magento2 installation: vendor/zendframework/zend-mvc/src/Service/HttpExceptionStrategyFactory.php on line 29 Thank you very much
I want update payment module Dotpay to 1.0.15 – require PHP Version 7.1+ So I run command with PHP 7.1: composer71 require dotpay/magento2-payment:1.0.15 But during update I received issue: Problem 1 - scommerce/googleremarketing 2.0.1 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.29) does not satisfy that requirement. - scommerce/googleremarketing 2.0.1 […]
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 […]
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 […]