Coder Social home page Coder Social logo

cendekia / nova-faspay-tools Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.58 MB

Faspay is a payment service provider in Indonesia. The way they provide their web services is little bit old school and here I just trying to build a better tool for consuming their web services, so you don't have to struggling to code from scratch to use it.

License: MIT License

Vue 61.32% JavaScript 1.86% CSS 0.05% HTML 6.19% PHP 30.58%

nova-faspay-tools's Introduction

A tool to provide an UI access of Faspay web services

Latest Version on Packagist Build Status StyleCI Total Downloads

RecurringCheck UpdateRecurringMember

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require cendekia/nova-faspay-tools

You need to add some credentials from Faspay into .env file, like so:

FASPAY_RECURRING_MERCHANT_ID=xxxx
FASPAY_RECURRING_MERCHANT_NAME=xxxxx
FASPAY_RECURRING_CLIENT_ID=xxxxx
FASPAY_RECURRING_PASSWORD=xxxxx
FASPAY_RECURRING_CHECK_URL=https://xxxxxx
FASPAY_RECURRING_MEMBER_DATA_URL=https://xxxxxx

Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...
        new \Cendekia\FaspayTools\FaspayTools,
    ];
}

Todo :

  • Recurring member check
  • Update recurring member data
  • Setting with local data

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Support

Buy me a cup of โ˜• americano on the rocks. Patreon

License

The MIT License (MIT). Please see License File for more information.

nova-faspay-tools's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.