承接 michaelstivala/commerce-transactium 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

michaelstivala/commerce-transactium

Composer 安装命令:

composer require michaelstivala/commerce-transactium

包简介

Transactium payment gateway plugin for Craft Commerce 2

README 文档

README

This plugin provides Transactium integration for Craft Commerce.

It provides the Transactium gateway.

Requirements

This plugin requires Craft Commerce 2.0.0-alpha.5 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require michaelstivala/commerce-transactium
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Transactium.

Setup

To add a Transactium payment gateway, go to Commerce → Settings → Gateways, create a new gateway, and set the gateway type to "Transactium".

In order to allow the payment gateway to be loaded in an iFrame, you need to create a template that responds to the route /checkout/transactium in your application that initates the payment flow - like below:

<html>
<body>
    LOADING PAYMENT GATEWAY...
    <form method="POST" id="transactium-payment-form">
        <input type="hidden" name="action" value="commerce/payments/pay"/>
        {{ redirectInput('account/orders-iframe?order={number}') }}
        <input type="hidden" name="cancelUrl" value="{{ url('/checkout/payment?cancel=true')|hash }}"/>
        {{ csrfInput() }}
    </form>
    <script type="text/javascript">
        document.getElementById("transactium-payment-form").submit();
    </script>
</body>
</html>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-04-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固