haaruuyaa/xendit-laravel-api 问题修复 & 功能扩展

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

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

haaruuyaa/xendit-laravel-api

最新稳定版本:1.0.0

Composer 安装命令:

composer require haaruuyaa/xendit-laravel-api

包简介

This is Xendit API made using Laravel framework

README 文档

README

License

Description

This PHP Package provides a convenient way to interact with the Xendit Laravel API using PHP Laravel. This package allows you to easily integrate Xendit payment functionality into your PHP applications.

Installation

You can install the haaruuyaa\xendit-laravel-api PHP Package via Composer. Run the following command in your project directory:

composer require haaruuyaa/xendit-laravel-api

Setup .env

You can put your API Key / Token in the .env file.

XENDIT_URL=https://api.xendit.co/
XENDIT_TOKEN=yourtoken
XENDIT_API_VERSION=2020-10-31

Usage

use Haaruuyaa\XenditApi\Facades\Ewallet;

// To create an ewallet payment
Ewallet::createPayment();
// To create an ewallet Void
Ewallet::createVoid($id);
// To create an ewallet Refund
Ewallet::createRefund($id);
// To get an update for the ewallet charge status
Ewallet::getPaymentStatus($id);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-21