goodypay/goodypay-calculator 问题修复 & 功能扩展

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

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

goodypay/goodypay-calculator

Composer 安装命令:

composer require goodypay/goodypay-calculator

包简介

A payment calculator library for GoodyPay.

README 文档

README

Table of Contents

  1. Features
  2. Installation
  3. Requirements
  4. Guide
    1. Using GoodyPayCalculator Class
    2. For direct use using the static method
  5. Contributors

Features

Calculate the pricing of base on Paymongo specifically for **Card, E-Wallet and Online Banking**

Installation

Run

composer require goodypay/goodypay-calculator

composer install

Requirements

PHP version 5.3.0

Guide

1. Using GoodyPayCalculator Class

  • GoodyPayCalculator::Compute('paymentMethod', $amount, true)
  • Accept payment method such as "Gcash", "Paymaya", "Grabpay", "Card", "Online banking"
  • Compute ("Gcash", 3000, true)
    • Gcash (Payment Method)
    • 3000 (Amount)
    • true (Foreign, specific for online banking)

2. For direct use using the static method

  • GoodyPayCalculator::ComputeGcash ($amount)
  • GoodyPayCalculator::ComputeCard ($amount, $foreign = null)
  • GoodyPayCalculator::ComputeOnlineBanking ($amount)
  • GoodyPayCalculator::ComputeGrabPay ($amount)
  • GoodyPayCalculator::ComputeMaya ($amount)

Contributors

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固