定制 live-controls/payment 二次开发

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

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

live-controls/payment

最新稳定版本:2.1.7

Composer 安装命令:

composer require live-controls/payment

包简介

Payment package for live-controls

README 文档

README

Release Version Packagist Version

Helper classes and objects to create online checkouts for IUGU and PagSeguro.

No warranty for any unwanted sideeffects!

Requirements

  • PHP 8.0+
  • GuzzleHttp\Guzzle

Translations

None

Installation

  1. Install Payment package
composer require live-controls/payment
  1. Add PAGSEGURO_EMAIL_DEBUG and PAGSEGURO_TOKEN_DEBUG
  2. Add PAGSEGURO_EMAIL and PAGSEGURO_TOKEN
  3. Publish configuration file
php artisan vendor:publish --tag="livecontrols.payment.config"

Configuration

  • 'logging' => If set to true, the library will log the requests and responses even in production mode.
  • 'debug' => Defaults to the applications debug mode. This way you can set the library to debug mode, without setting the whole application to it.
  • 'pagseguro_email_debug' => The email from your pagseguro account to be used in debug/sandbox mode.
  • 'pagseguro_token_debug' => The token from your pagseguro account to be used in debug/sandbox mode. (Needs to be your sandbox token, else an exception will be thrown)
  • 'pagseguro_email' => The email from your pagseguro account to be used in production mode.
  • 'pagseguro_token' => The token from your pagseguro account to be used in production mode. (Needs to be your production token, else an exception will be thrown)

Content

  • Transparent Checkout for IUGU (incl. PaymentItem and PaymentSender classes)
  • Redirect Checkout for PagSeguro (incl. PaymentItem, ShippingInformation, PaymentReceiver and PaymentSender classes)

Usage

IUGU

Warning: No longer updated, but should probably work

PagSeguro

  1. Create Token for testing and for production on PagSeguro (If you don't know how, ask PagSeguro)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-22