Download the PHP package omitsis/redsys-googlepay without Composer

On this page you can find all versions of the php package omitsis/redsys-googlepay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package redsys-googlepay

Magento 2 Redsys Google Pay Plugin

Este módulo complementa al plugin oficial de Redsys para Magento 2, permitiendo la integración de Google Pay como método de pago adicional. A través de este plugin, los clientes pueden utilizar Google Pay directamente desde la página de checkout, sin necesidad de pasar por la pasarela de pago de Redsys.

Modal de Google Pay en página checkout

Esto corresponde al modelo de Integración directa de Redsys con Google Pay

Requisitos

Consideraciones importanes

No vamos a explicar aquí como configurar o empezar a trabajar con Redsys ni el proceso completo para crear la integración con Google, puesto que ya lo hace Redsys en sus guías. Pero sí vamos a remarcar algunos apuntes a tener en cuenta.

Características

Instalación

  1. Asegúrate de que el plugin oficial de Redsys esté instalado y configurado correctamente en tu tienda Magento 2.
  2. Instala este plugin:

    Utilizando composer

    Puedes descargarte el plugin directamente puesto que está registrado en packagist.org

    Por copia directa de archivos

    • Descarga la extensión
    • Descomprime el archivo
    • Crea el directorio app/code/Omitsis/RedsysGooglePay
    • Copia el contenido del archivo a esa carpeta
  3. Habilita el módulo ejecutando los siguientes comandos:

  4. Configura el plugin desde el panel de administración.

Configuración general

Configuración

  1. Ve a Stores > Configuration > Sales > Payment Methods en el panel de administración de tu Magento.

  2. Busca la sección "Redsys Pago con Google Pay".

  3. Completa los campos requeridos, la configuracion se divide en tres pestañas:

    Configuración General:

    • Habilitar: Habilitar/Deshabilitar el método de pago.
    • Estado del pedido al verificarse el pago: Estado en el que se queda el pedido tras verificarse el pago y crearse la factura.
    • Mantener pedido si se produce un error: Habilitar/Deshabilitar mantener los productos del carrito en caso de que falle el pago.
    • Habilitar logs: Habilitar/Deshabilitar los logs.

    Configuración Google Pay:

    • Entorno de Google: Indicar modo Producción o Prueba del entorno de GPay.
    • Id comerciante Google: Codigo de mercante indicado por Google tras realizar todos los pasos de la seccion de Requisitos.
    • Tarjetas permitidas: Elegir las tarjetas permitidas por la pasarela de pago. Para Redsys serian estas tarjetas (AMEX, DISCOVER, JCB, MASTERCARD, VISA)

    Configuración Pasarela:

    • Pasarela: Indicar pasarela de pago.
    • Entorno de Redsys: Indicar modo Producción o Prueba del entorno de Redsys.
    • Nombre del comercio: Indicar nombre del comercio.
    • Url del comercio: Indicar url del comercio.
    • Número del comercio o FUC: Número de comercio proporcionado por Redsys.
    • Número de terminal: Identificador de terminal asignado por Redsys.
    • Clave de Encriptación SHA-256: Clave de encriptación indicada por Redsys.
    • Tipo de transacción: El tipo de transaccion, en este caso para GPay seria "Autorización".
    • Método de generación del número de pedido: Como se genera el numero de pedido que se enviara a Redsys para identificar la operacion en el portal del TPV. Se recomienda el modo "Híbrido".
    • El terminal permite número de pedido extendido: Habilitar/Deshabilitar numeros de pedidos extendidos. Esto es útil para tiendas cuyos número de pedidos podrían exceder las doce posiciones que tiene como máximo un número de pedido estándar.
  4. Guarda la configuración.

Configuración Google Pay

Configuración Pasarela

Uso

Una vez configurado, Google Pay aparecerá como una opción de pago en la página de checkout. Los clientes podrán seleccionar dicho método, y tras seleccionar la tarjeta de su cuenta el pago se procesará directamente sin pasar por la pasarela tradicional de Redsys como punto intermedio del proceso.

Notas Importantes

Compatibilidad

Licencia

Este proyecto está licenciado bajo la Licencia Pública General de GNU v3.0 (GPL-3.0). Puedes consultar el archivo LICENSE para más detalles.


Magento 2 Redsys Google Pay Plugin (English)

This module complements the official Redsys plugin for Magento 2, allowing the integration of Google Pay as an additional payment method. Through this plugin, customers can use Google Pay directly from the checkout page without the need to go through the Redsys payment gateway.

This corresponds to the Direct Redsys integration model with Google Pay.

Requirements

Important Considerations

We will not explain here how to configure or start working with Redsys, nor the complete process to create the integration with Google, as Redsys already provides guides. However, we will highlight some key points to consider:

Features

Installation

  1. Make sure the official Redsys plugin is installed and correctly configured on your Magento 2 store.
  2. Install this plugin:

    Using composer

    You can download the plugin directly as it is registered on packagist.org

    By direct file copy

    • Download the extension
    • Unzip the file
    • Create the directory app/code/Omitsis/RedsysGooglePay
    • Copy the content of the file to that folder
  3. Enable the module by running the following commands:

  4. Configure the plugin from the admin panel.

Configuration

  1. Go to Stores > Configuration > Sales > Payment Methods in your Magento admin panel.

  2. Find the "Redsys Pago con Google Pay" section.

  3. Fill in the required fields; the configuration is divided into three tabs:

    General Configuration:

    • Enable: Enable/Disable the payment method.
    • Order status after payment is verified: The status of the order after the payment is verified and the invoice is created.
    • Keep order if an error occurs: Enable/Disable keeping the cart items in case the payment fails.
    • Enable logs: Enable/Disable logs.

    Google Pay Configuration:

    • Google Environment: Indicate Production or Test mode for the GPay environment.
    • Google Merchant ID: Merchant code provided by Google after completing the steps in the Requirements section.
    • Allowed Cards: Choose the cards allowed by the payment gateway. For Redsys, these cards are (AMEX, DISCOVER, JCB, MASTERCARD, VISA).

    Gateway Configuration:

    • Gateway: Indicate the payment gateway.
    • Redsys Environment: Indicate Production or Test mode for the Redsys environment.
    • Merchant name: Specify the merchant name.
    • Merchant URL: Specify the merchant URL.
    • Merchant number or FUC: Merchant number provided by Redsys.
    • Terminal number: Terminal identifier assigned by Redsys.
    • SHA-256 Encryption Key: Encryption key provided by Redsys.
    • Transaction type: The transaction type, in this case for GPay, would be "Authorization."
    • Order number generation method: How the order number sent to Redsys to identify the operation on the TPV portal is generated. "Hybrid" mode is recommended.
    • Terminal allows extended order number: Enable/Disable extended order numbers. This is useful for stores whose order numbers might exceed the twelve positions that a standard order number can have at most.
  4. Save the configuration.

Usage

Once configured, Google Pay will appear as a payment option on the checkout page. Customers can select this method, and after choosing the card from their account, the payment will be processed directly without going through the traditional Redsys gateway as an intermediary.

Important Notes

Compatibility

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). You can check the LICENSE file for more details.


All versions of redsys-googlepay with dependencies

PHP Build Version
Package Version
Requires php Version ~7.1.3||~7.2.0||~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0
magento/product-community-edition Version ^2.3.0 || ^2.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package omitsis/redsys-googlepay contains the following files

Loading the files please wait ....