fronty/sylius-imoje 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fronty/sylius-imoje

Composer 安装命令:

composer require fronty/sylius-imoje

包简介

Integration of imoje.pl Paywall API to Sylius as a new payment method.

README 文档

README

Integration of imoje.pl Paywall API to Sylius as a new payment method.

See Paywall API documentation.

Check also great GoPay plugin by Czende. It has been great inspiration for IMoje.pl payment plugin.

Installation

$ composer require fronty/sylius-imoje

Add plugin dependencies to your AppKernel.php file:

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

        new \Fronty\SyliusIMojePlugin\FrontySyliusIMojePlugin(),
    ]);
}

Beware

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)

Register new Sandbox account at https://sandbox.imoje.ingbank.pl/ (PL only). Log in and go to "Sklepy" tab (top left). In the table, click on "Sklep testowy" to expand and then to "Szczegóły" link. Go to "Dane do integracji" tab. There you will see your credentials, which should be filled in payment setting:

  • "Identyfikator klienta" is Merchant ID
  • "Identyfikator sklepu" is Service ID
  • "Klucz sklepu" is Secret Key

Go to Sylius admin and create new payment of IMoje.pl type. Choose Testing environment and use credentials from sanbox admin.

Production

You will receive production credentials from IMoje.pl organization. After that, go to IMoje.pl payment settings in Sylius admin, fill given credentials and select Production environment. That's all :)

How to change visible payment methods.

By default, this plugin uses only card and pbl payment methods. If you want to specify others or change any other Gateway configuration, just overwrite service fronty.imoje.gateway_factory with your own and change visibleMethod in payum.default_options field.

Todo

  • Tests to become an official Sylius plugin :)
  • Notification implementation

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固