Plugin Directory

Changeset 3446478


Ignore:
Timestamp:
01/25/2026 10:22:04 AM (7 weeks ago)
Author:
saifullahsiddique
Message:

Update plugin header

Location:
finerspay
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • finerspay/tags/1.0.1/README.md

    r3446450 r3446478  
    11# FinersPay - bKash Payment Gateway for Tutor LMS
    22
    3 bKash payment gateway integration for Tutor LMS. This plugin enables one-time course payments through bKash Tokenized Checkout.
     3Enable fast and secure bKash payments for Tutor LMS & let students pay instantly using bKash.
    44
    55## Features
    66
    7 ✅ One-time and subscription payments for course purchases\
     7✅ One-time and subscription (manual) payments for course purchases\
    88✅ Tokenized Checkout for secure payment processing\
    99✅ Sandbox and Live environment support\
  • finerspay/tags/1.0.1/finerspay.php

    r3446450 r3446478  
    11<?php
    22    /**
    3      * Plugin Name:     FinersPay
    4      * Description:     bKash payment gateway integration for Tutor LMS (Free & Pro). Accept online payments directly within your Tutor LMS-powered site using bKash Tokenized Checkout.
     3     * Plugin Name:     FinersPay - bKash Payment Gateway for Tutor LMS
     4     * Description:     Enable fast and secure bKash payments for Tutor LMS & let students pay instantly using bKash.
    55     * Version:         1.0.1
    66     * Author:          S. Saif
     
    3535     */
    3636    final class finerspay_Plugin {
    37 
    3837        /**
    3938         * Single instance of the plugin
  • finerspay/tags/1.0.1/integration/BkashConfig.php

    r3446450 r3446478  
    2323 */
    2424class BkashConfig extends BaseConfig implements ConfigContract {
    25 
    2625    /**
    2726     * Configuration keys and their types for bKash gateway
  • finerspay/tags/1.0.1/payments/Bkash.php

    r3446450 r3446478  
    113113            ];
    114114        } catch (Throwable $error) {
    115 
    116115            throw $error;
    117116        }
     
    308307        ]);
    309308
    310 
    311 
    312309        if ($response && isset($response['id_token'])) {
    313310
    314311            return $response['id_token'];
    315312        }
    316 
    317313
    318314        return null;
     
    346342
    347343        $headers = array_merge($defaultHeaders, $headers);
    348 
    349 
    350344
    351345        $args = [
     
    374368        $decoded = json_decode($body, true);
    375369
    376 
    377 
    378370        return is_array($decoded) ? $decoded : ['statusCode' => '9999', 'statusMessage' => 'Invalid JSON response', 'raw_body' => $body];
    379371    }
     
    443435                $returnData->earnings = number_format($amount, 2, '.', '');
    444436                $returnData->tax_amount = 0;
    445 
    446437            } else {
    447438                // Query failed - check if we have statusCode in payload as fallback
     
    510501     * @return array|null Payment status or null on failure
    511502     */
    512     private function queryPayment(string $paymentID): ?array {
     503    private function queryPayment(string $paymentID): ? array {
    513504        // Get grant token
    514505        $this->accessToken = $this->getGrantToken();
  • finerspay/tags/1.0.1/readme.txt

    r3446450 r3446478  
    1 === FinersPay ===
     1=== FinersPay - bKash Payment Gateway for Tutor LMS ===
    22Contributors: adefiners, saifullahsiddique
    33Tags: tutor, lms, bkash, payment, gateway
  • finerspay/trunk/README.md

    r3446450 r3446478  
    11# FinersPay - bKash Payment Gateway for Tutor LMS
    22
    3 bKash payment gateway integration for Tutor LMS. This plugin enables one-time course payments through bKash Tokenized Checkout.
     3Enable fast and secure bKash payments for Tutor LMS & let students pay instantly using bKash.
    44
    55## Features
    66
    7 ✅ One-time and subscription payments for course purchases\
     7✅ One-time and subscription (manual) payments for course purchases\
    88✅ Tokenized Checkout for secure payment processing\
    99✅ Sandbox and Live environment support\
  • finerspay/trunk/finerspay.php

    r3446450 r3446478  
    11<?php
    22    /**
    3      * Plugin Name:     FinersPay
    4      * Description:     bKash payment gateway integration for Tutor LMS (Free & Pro). Accept online payments directly within your Tutor LMS-powered site using bKash Tokenized Checkout.
     3     * Plugin Name:     FinersPay - bKash Payment Gateway for Tutor LMS
     4     * Description:     Enable fast and secure bKash payments for Tutor LMS & let students pay instantly using bKash.
    55     * Version:         1.0.1
    66     * Author:          S. Saif
     
    3535     */
    3636    final class finerspay_Plugin {
    37 
    3837        /**
    3938         * Single instance of the plugin
  • finerspay/trunk/integration/BkashConfig.php

    r3446450 r3446478  
    2323 */
    2424class BkashConfig extends BaseConfig implements ConfigContract {
    25 
    2625    /**
    2726     * Configuration keys and their types for bKash gateway
  • finerspay/trunk/payments/Bkash.php

    r3446450 r3446478  
    113113            ];
    114114        } catch (Throwable $error) {
    115 
    116115            throw $error;
    117116        }
     
    308307        ]);
    309308
    310 
    311 
    312309        if ($response && isset($response['id_token'])) {
    313310
    314311            return $response['id_token'];
    315312        }
    316 
    317313
    318314        return null;
     
    346342
    347343        $headers = array_merge($defaultHeaders, $headers);
    348 
    349 
    350344
    351345        $args = [
     
    374368        $decoded = json_decode($body, true);
    375369
    376 
    377 
    378370        return is_array($decoded) ? $decoded : ['statusCode' => '9999', 'statusMessage' => 'Invalid JSON response', 'raw_body' => $body];
    379371    }
     
    443435                $returnData->earnings = number_format($amount, 2, '.', '');
    444436                $returnData->tax_amount = 0;
    445 
    446437            } else {
    447438                // Query failed - check if we have statusCode in payload as fallback
     
    510501     * @return array|null Payment status or null on failure
    511502     */
    512     private function queryPayment(string $paymentID): ?array {
     503    private function queryPayment(string $paymentID): ? array {
    513504        // Get grant token
    514505        $this->accessToken = $this->getGrantToken();
  • finerspay/trunk/readme.txt

    r3446450 r3446478  
    1 === FinersPay ===
     1=== FinersPay - bKash Payment Gateway for Tutor LMS ===
    22Contributors: adefiners, saifullahsiddique
    33Tags: tutor, lms, bkash, payment, gateway
Note: See TracChangeset for help on using the changeset viewer.