ayminovitch/sylius-trustpaytest-plugin

Plugin for add a trustpay gateway payment

This package is auto-updated.

Last update: 2024-03-30 18:23:51 UTC


README

Plugin for card payment gateway on sylius

68747470733a2f2f64656d6f2e73796c6975732e636f6d2f6173736574732f73686f702f696d672f6c6f676f2e706e67

Trustpay Plugin

Sylius Plugin for integrate Trustpay card form payment.

Quickstart Installation

  • Install with composer:

    composer require ayminovitch/sylius-trustpay-plugin "dev-main"

  • Create template:

    You should copy all directory or files in src/Resources/view and paste into your templates directory of your app.

Usage

This plugin add a new payment method for CardPayment via Trustpay Gateway. The form is embed in your store , no redirection.

Test : Opening Sylius with your plugin

  • Using test environment:

    (cd tests/Application && APP_ENV=test bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=test bin/console server:run -d public)
  • Using dev environment:

    (cd tests/Application && APP_ENV=dev bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=dev bin/console server:run -d public)