Skip to content
Advertisement

Tag: magento

Payment fails after 3d validation and redirects to checkout page paymentsense_payments module magento 2

I am using Paymentsense_Payments magento extension to integrate card payment method in a client’s website. When I try to make payment it redirects to checkout page, when I checked the paymentsense log I saw this message ” Cancel Action with message “A 3-D Secure authentication error occurred while processing the order” has been triggered “. After submit, redirects to checkout

Disable swiper.js autoplay using inline if statement

Im trying to disable the swiper autoplay depending on a widget name parameter that gets me the a value. (Im using magento widget and i get the value from the widget.xml) Here is a example: with the other values its easy because its a true of false but in this case i need that code to appear if my $block->getData(‘autoplay’)

How to include multiple html file in another phtml file?

I would like to include several file in Magento 2 in one phtml file. The project was in laravel at first and looks like this : https://i.imgur.com/XpUbynf.png So now I need to import all the project in a Magento 2 project but the semantic is different. I have tried this so far but doesnt work : https://i.imgur.com/hewweJg.png The files I’m

Detect Success Page on Magento 2

Is there a way to check if am I on Success page on Magento 2? I know in Magento 1 we can check and compare the action name, for example. But in Magento 2, there is something similar? Answer One way would be via URL. In your Class use this in construct: With $this->_urlInterface->getCurrentUrl() you get the current url, so

How to pass storeUrl to default Magento oauth script?

I’m trying to create my first Magento 2 extension and integration and I’ve been following the guide in their docs here. All good so far, I’ve completed the auth handshake, stored all the required keys for api requests and can make requests back to my extension fine. Looking at the OauthClient.php script provided at the foot of the tutorial, the

Magento: Class ‘DOMDocument’ not found

I’m installing Magento on Amazons AWS Lightsail system. I’ve installed NGINX, MySQL & PHP But I keep getting this error: Installed modules: PHP Info Available: http://13.239.86.161/info.php Answer You need to install the php-dom and php-xml packages, however it looks like from you PHP info. that you have done so. If you are on Debian or Ubuntu you can make sure

Magento 2 Attribute Not Show In Navigation

I have a problem when applying magento 2.1.9 to my project. My attribute is ab_size I have created that attribute with code blow. With config in the backend. Enable filter (with result) done Category Is Anchor done Reindex done Enable Category flat done Enable Product flat done Reindex all data done Clear cache done Use magento clean doesn’t have any

Advertisement