Code Monkey home page Code Monkey logo

sylius-netaxept's Introduction

Sylius Netaxept payment gateway plugin

Integration of Nets (Netaxept) payment gateway to Sylius as a new payment method.

Big thanks to FDM and his Netaxept Payum bundle.

Check my other Sylius plugin for IMoje.pl payments.

Installation

$ composer require fronty/sylius-netaxept

Add plugin dependencies to your AppKernel.php file:

public function registerBundles()
{
    return array_merge(parent::registerBundles(), [
        ...

        new \Fronty\SyliusNetaxeptPlugin\FrontySyliusNetaxeptPlugin(),
    ]);
}

Beware

This plugin introduces only very simple Netaxept implementation, it only handles payment registration and authorization. It doesn't do any refunds when order is storned etc. This plugin is not tested, therefore it's not an official Sylius plugin. Please be careful. If you'd like to add testing, you are more than welcome to send PR!

Usage

Sandbox (testing mode)

Go to Sylius admin and create new payment method of Netaxept type. Choose Testing environment and fill in the Merchant ID and Token fiels. You should receive these credentials when you registered a Netaxept account.

Production

After you receive Netaxept production credentials, fill these to the payment method fields and switch the environment to Production. That's all :)

Todo

  • Tests to become an official Sylius plugin :)
  • Refunds implementation
  • Separate Register, Capture and Authorize Payum actions (everything is in capture action now)
  • Notification implementation

sylius-netaxept's People

Watchers

Ondřej Šeliga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.