sirumobile/payum-siru 问题修复 & 功能扩展

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

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

sirumobile/payum-siru

最新稳定版本:0.1.0

Composer 安装命令:

composer require sirumobile/payum-siru

包简介

Payum extension for Siru Mobile payment gateway

README 文档

README

This library allows the use of Siru Mobile payments with Payum.

Requirements

  • PHP 8.0+
  • API credentials from Siru Mobile

Installation

composer require sirumobile/payum-siru

Configuration

You need your API credentials and integration details from Siru Mobile. See EXAMPLE for more complete example of the payment flow.

<?php

use Payum\Core\GatewayFactoryInterface;
use Siru\PayumSiru\PayumSiruGatewayFactory;
use Payum\Core\PayumBuilder;
use Payum\Core\Payum;

/** @var Payum $payum */
$payum = (new PayumBuilder())
    ->addDefaultStorages()
    ->addGatewayFactory('siru_checkout', function(array $config, GatewayFactoryInterface $coreGatewayFactory) {
        return new PayumSiruGatewayFactory($config, $coreGatewayFactory);
    })
    ->addGateway('siru_checkout', [
        'factory' => 'siru_checkout',
        # These are only example values. Replace these with values you received from Siru Mobile
        'merchant_id' => 123,
        'merchant_secret' => 'yoursecret',
        'variant' => 'variant2',
        'purchase_country' => 'FI',
        'service_group' => 2,
        'tax_class' => 3,
    ])
    ->getPayum()
;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固