{"id":7557,"date":"2024-06-10T16:55:58","date_gmt":"2024-06-10T16:55:58","guid":{"rendered":"https:\/\/documents.openpay.mx\/?p=7557"},"modified":"2024-07-01T18:23:05","modified_gmt":"2024-07-01T18:23:05","slug":"magento-2-dev","status":"publish","type":"post","link":"https:\/\/documents-mx-dev.opdevhm.com\/en\/docs\/magento-2-dev.html","title":{"rendered":"Magento 2"},"content":{"rendered":"
About Magento<\/strong><\/p> Magento is a web platform that allows content management for online stores, offering a flexible and scalable solution on which any eCommerce can be built.<\/p> The Openpay plugin for Magento enables you to use our supported payment methods (credit card, stores and wire transfers) within the shopping flow of your eCommerce.<\/p> It is required for the server that hosts your Magento 2 store to fulfill the following:<\/p> Para la instalaci\u00f3n de extensiones (plugins) en Magento 2 es necesario aplicar una serie de comandos en la terminal del servidor donde este alojada tu plataforma.<\/p> To implement the three payment methods in your store, it is necessary to install and enable each one separately.<\/b><\/p> 1.- Ingresar desde la terminal de nuestro servidor a la carpeta ra\u00edz de Magento.<\/p> 2.- Ingresar los siguientes comandos, los cuales descargar\u00e1n las extensiones al proyecto y adicional a ello descargar\u00e1n la librer\u00eda de Openpay de PHP.<\/p> 3) Enable the modules, update and clear cache of the platform to complete the installation process.<\/p> 2.- Aparecer\u00e1 una pantalla como la que se muestra a continuaci\u00f3n. 3.- En tu panel de administraci\u00f3n de Magento2 (Dashboard Magento), dirigirse a la secci\u00f3n Stores > Configuration<\/b>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 4.- Una vez dentro de la pantalla de configuraci\u00f3n, ubicar el men\u00fa lateral izquierdo Sales > Payment Methods.<\/b><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 5.- Le aparecer\u00e1n los M\u00f3dulos que instal\u00f3.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Fecha l\u00edmite para pago (Payment deadline).-<\/strong>\u00a0Define the hours on which your customer will be able to make a payment via Convenience Store.<\/p> Configuraci\u00f3n de pa\u00edses permitidos (Payment from applicable countries, payment from specific countries).-<\/strong>\u00a0you can leave the default configuration or define only Mexico.<\/p> Orden (Sort order).-<\/strong>\u00a0Order in which the payment method is shown.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Fecha l\u00edmite para pago (Payment deadline).-<\/strong>\u00a0Define the hours on which your customer will be able to make a payment via Convenience Store.<\/p> Configuraci\u00f3n de pa\u00edses permitidos (Payment from applicable countries, payment from specific countries).-<\/strong>\u00a0you can leave the default configuration or define only Mexico.<\/p> Orden (Sort order).-<\/strong>\u00a0Order in which the payment method is shown.<\/p><\/div>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\tSupported versions<\/h2>
Requirements<\/h2>
Installation<\/h2>
composer require openpay\/magento2-cards:3.4.*\n<\/code><\/pre><\/figure><\/div>
# Para versiones de Magento < 2.3.0
composer require openpay\/magento2-stores:~3.1.0
# Para versiones de Magento >= 2.3.0
composer require openpay\/magento2-stores:~3.5.0
# Para versiones de Magento >= 2.3.5
composer require openpay\/magento2-stores:~4.1.0<\/code><\/pre><\/figure><\/div># Para versiones de Magento < 2.3.0
composer require openpay\/magento2-banks:~3.1.0
# Para versiones de Magento >= 2.3.0
composer require openpay\/magento2-banks:~3.5.0\n# Para versiones de Magento >= 2.3.5
composer require openpay\/magento2-banks:~4.1.0<\/code><\/pre><\/figure><\/div>php bin\/magento module:enable Openpay_Cards --clear-static-content\nphp bin\/magento module:enable Openpay_Stores --clear-static-content\nphp bin\/magento module:enable Openpay_Banks --clear-static-content\nphp bin\/magento setup:upgrade\nphp bin\/magento cache:clean<\/code><\/pre><\/div><\/div><\/div><\/div><\/div>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
Configuraci\u00f3n de m\u00f3dulos.<\/h2>
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
Configuraci\u00f3n Openpay Tarjetas.<\/h3>\n
\n \t
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n \t
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
Configuraci\u00f3n Pagos en Tiendas<\/h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
Configuraci\u00f3n Pagos v\u00eda SPEI (Banks).<\/h3>