{"repo":"otnansirk/laravel-dana","free":true,"listed":false,"github":"https://github.com/otnansirk/laravel-dana","clone":"git clone https://github.com/otnansirk/laravel-dana.git","description":"This is the Laravel Library for DANA Payment API","language":"PHP","stars":33,"topics":["dana","laravel-package","payment-gateway","payment-integration","payment-methods","laravel-dana","laravel","laravel-dana-payment-gateway","packages"],"license":null,"category":"auth-billing-email","readme_excerpt":"Laravel DANA Payment Package This Laravel wrapper/library for DANA Payment API. Visit https://dana.id for more information about the product and see documentation at https://dashboard.dana.id/api-docs for more technical details. Requirements - PHP 8.1 or higher - Laravel 9.x, 10.x, 11.x, or 12.x Installation 1. You can install the package via composer. 2. The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file. 3. You should publish the config/dana.php config file with this php artisan command. Configuration All configuration are stored in config/dana.php . Customize everything you need. Make sure to set the following environment variables in your .env file: Usage 1. Create order DANAPay::createOrder($orderData) About all possible payloads for $orderData please check the official DANA documentation. Ref: https://dashboard.dana.id/api-docs/read/33 2. Get Transaction by acquirementId DANAPay::queryOrder($acquirementId) You can get transaction detail and status transaction with this method Ref: https://dashboard.dana.id/api-docs/read/42 3. Get oAuth URL DANAPay::generateOauthUrl($terminalType, $redirectUrl) For more information please check the official DANA documentation. Ref: https://dashboard.dana.id/api-docs/read/47 4. Get Token and Refresh Token DANAPay::getToken($authToken) You can get value of $authToken from oAuth callback process. From this function you will receive token and refresh token . Ref: h","default_branch":null,"files":null,"tree":[],"storefront":"/r/otnansirk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/otnansirk/laravel-dana/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}