teikun-86/tripay-laravel

Tripay API for Laravel

v1.0.3 2023-12-25 04:25 UTC

This package is auto-updated.

Last update: 2024-09-25 06:09:52 UTC


README

Unofficial TriPay Payment Gateway & PPOB integration for Laravel.

release languages Packagist Downloads GitHub code size in bytes GitHub License PR Welcome CodeFactor

Requirements

  • PHP v8.1+
  • PHP JSON Extension
  • PHP cURL Extension
  • Laravel v10+

Instalation

  1. Run composer require command

    composer require teikun-86/tripay-laravel
  2. Publish Configuration file

    php artisan vendor:publish --provider=Teikun86\Tripay\Providers\TripayServiceProvider --tag=tripay-config
  3. Add these config to your .env file

    TRIPAY_MERCHANT_CODE=""
    TRIPAY_API_KEY=""
    TRIPAY_PPOB_API_KEY=""
    TRIPAY_PRIVATE_KEY=""
    TRIPAY_PPOB_PIN=""
    TRIPAY_PPOB_SECRET_CALLBACK=""
    
  4. Happy Coding~

Usage

See /docs for more documentations.

Made with 💓 by teikun-86