定制 vwebdesign/onlinebetaalplatform 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

vwebdesign/onlinebetaalplatform

Composer 安装命令:

composer require vwebdesign/onlinebetaalplatform

包简介

PHP wrapper for onlinebetaalplatform.nl rest api

README 文档

README

PHP wrapper for onlinebetaalplatform.nl rest api

Installation

composer require vwebdesign/onlinebetaalplatform

Usage

Create a new \OBP\Transactions or \OBP\Merchants instance and add a config array to constructor. The OBP instance has fluent setters for all accepted params.

Code examples

Create transaction

<?php

// Config
$config = [
    'apiKey'        => '000000000000000000',
    'sandbox'       => true,
    'baseUrl'       => 'https://www.yourdomain.com/',
];

// Create transaction
$transaction = (new \OBP\Transactions\CreateTransaction($config))
    ->setTotalPrice(100)
    ->addProduct([
        'Test product',
        100
    ])
    ->setReturnUrl('/return')
    ->setMerchantUid('mer_000000000')
    ->doRequest();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2018-05-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固