Skip to content

hocklai8/ompay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMPAY

<?php

use Illuminate\Support\Facades\Route;
use Omconnect\Pay\Http\Controllers\AndroidPayController;
use Omconnect\Pay\Http\Controllers\IosPayController;
use Omconnect\Pay\Http\Controllers\StripeController;
use Omconnect\Pay\Http\Controllers\SubscriptionController;

Route::group([
    'prefix' => 'ompay',
], function () {
    Route::group([
        'prefix' => 'subscription',
        'middleware' => ['auth:api'],
    ], function () {
        Route::get('list', [SubscriptionController::class, 'list']);
        Route::post('verify', [SubscriptionController::class, 'verify']);
        Route::get('list-all', [SubscriptionController::class, 'listAll']);
    });
    
    Route::group([
        'prefix' => 'iospay',
    ], function () {
        Route::post('notification', [IosPayController::class, 'notification']);
    });

    Route::group([
        'prefix' => 'androidpay',
    ], function () {
        Route::post('notification', [AndroidPayController::class, 'notification']);
    });

    Route::group([
        'prefix' => 'stripe',
    ], function () {
        Route::post('', [StripeController::class, 'handle']);
    });
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%