/tripay-laravel

Unofficial TriPay Payment Gateway & PPOB integration for Laravel.

Primary LanguagePHPMIT LicenseMIT

teikun86/tripay-laravel

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