Magento 2 gives a flexible mechanism for managing database connections. This feature was slightly refactored compare to Magento 1.x release. In this article we will setup new database connection for custom resource model in Magento 2.

Read More

In this article I will share my personal experience on how to build a Magento 2 Module outside of Magento 2 app/code directory. Having Magento 2 module in a separate repository might be useful in case you are planning to share it later with the community or sell it from Magento Marketplace. Other th...

Read More

In the article we are going to review new Payment Service Contracts (or Payment Gateway API) introduced in Magento 2. I will guide you through Command Interfaces and Service Classes which will help you to use it in further integrations with Payment Service Providers.

After reading this article you will:

  • Understand Payment Gateway API
  • Get best practices and examples of payment implementation
  • Detailed overview of Gateway API classes and interfaces

Read More

This article is a continuation of Test Driven Development in Practice - Part 1 article.

In order to start refactoring we need to be sure our method is covered with Unit Tests. There are 5 Payment methods covered out-of-the-box in the 0.74.0-beta3 release. None of tests covers Payment::regis...

Read More

True developer starts with wine… and tests.

In world of programming and software development everyone is expected to deliver high quality code within short period of time. One of the software development goals (and Magento Inc. isn’t an exception here) is to ensure that changes we made to the...

Read More

Join Devletter Community

Subscribe to FREE Magento 2 tips and tutorials email I send every week.

I will send you my 3 best tutorials with interesting content immediately.

LinkedIn Twitter Facebook