Changeset 3446478
- Timestamp:
- 01/25/2026 10:22:04 AM (7 weeks ago)
- Location:
- finerspay
- Files:
-
- 10 edited
-
tags/1.0.1/README.md (modified) (1 diff)
-
tags/1.0.1/finerspay.php (modified) (2 diffs)
-
tags/1.0.1/integration/BkashConfig.php (modified) (1 diff)
-
tags/1.0.1/payments/Bkash.php (modified) (6 diffs)
-
tags/1.0.1/readme.txt (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/finerspay.php (modified) (2 diffs)
-
trunk/integration/BkashConfig.php (modified) (1 diff)
-
trunk/payments/Bkash.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
finerspay/tags/1.0.1/README.md
r3446450 r3446478 1 1 # FinersPay - bKash Payment Gateway for Tutor LMS 2 2 3 bKash payment gateway integration for Tutor LMS. This plugin enables one-time course payments through bKash Tokenized Checkout.3 Enable fast and secure bKash payments for Tutor LMS & let students pay instantly using bKash. 4 4 5 5 ## Features 6 6 7 ✅ One-time and subscription payments for course purchases\7 ✅ One-time and subscription (manual) payments for course purchases\ 8 8 ✅ Tokenized Checkout for secure payment processing\ 9 9 ✅ Sandbox and Live environment support\ -
finerspay/tags/1.0.1/finerspay.php
r3446450 r3446478 1 1 <?php 2 2 /** 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. 5 5 * Version: 1.0.1 6 6 * Author: S. Saif … … 35 35 */ 36 36 final class finerspay_Plugin { 37 38 37 /** 39 38 * Single instance of the plugin -
finerspay/tags/1.0.1/integration/BkashConfig.php
r3446450 r3446478 23 23 */ 24 24 class BkashConfig extends BaseConfig implements ConfigContract { 25 26 25 /** 27 26 * Configuration keys and their types for bKash gateway -
finerspay/tags/1.0.1/payments/Bkash.php
r3446450 r3446478 113 113 ]; 114 114 } catch (Throwable $error) { 115 116 115 throw $error; 117 116 } … … 308 307 ]); 309 308 310 311 312 309 if ($response && isset($response['id_token'])) { 313 310 314 311 return $response['id_token']; 315 312 } 316 317 313 318 314 return null; … … 346 342 347 343 $headers = array_merge($defaultHeaders, $headers); 348 349 350 344 351 345 $args = [ … … 374 368 $decoded = json_decode($body, true); 375 369 376 377 378 370 return is_array($decoded) ? $decoded : ['statusCode' => '9999', 'statusMessage' => 'Invalid JSON response', 'raw_body' => $body]; 379 371 } … … 443 435 $returnData->earnings = number_format($amount, 2, '.', ''); 444 436 $returnData->tax_amount = 0; 445 446 437 } else { 447 438 // Query failed - check if we have statusCode in payload as fallback … … 510 501 * @return array|null Payment status or null on failure 511 502 */ 512 private function queryPayment(string $paymentID): ? array {503 private function queryPayment(string $paymentID): ? array { 513 504 // Get grant token 514 505 $this->accessToken = $this->getGrantToken(); -
finerspay/tags/1.0.1/readme.txt
r3446450 r3446478 1 === FinersPay ===1 === FinersPay - bKash Payment Gateway for Tutor LMS === 2 2 Contributors: adefiners, saifullahsiddique 3 3 Tags: tutor, lms, bkash, payment, gateway -
finerspay/trunk/README.md
r3446450 r3446478 1 1 # FinersPay - bKash Payment Gateway for Tutor LMS 2 2 3 bKash payment gateway integration for Tutor LMS. This plugin enables one-time course payments through bKash Tokenized Checkout.3 Enable fast and secure bKash payments for Tutor LMS & let students pay instantly using bKash. 4 4 5 5 ## Features 6 6 7 ✅ One-time and subscription payments for course purchases\7 ✅ One-time and subscription (manual) payments for course purchases\ 8 8 ✅ Tokenized Checkout for secure payment processing\ 9 9 ✅ Sandbox and Live environment support\ -
finerspay/trunk/finerspay.php
r3446450 r3446478 1 1 <?php 2 2 /** 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. 5 5 * Version: 1.0.1 6 6 * Author: S. Saif … … 35 35 */ 36 36 final class finerspay_Plugin { 37 38 37 /** 39 38 * Single instance of the plugin -
finerspay/trunk/integration/BkashConfig.php
r3446450 r3446478 23 23 */ 24 24 class BkashConfig extends BaseConfig implements ConfigContract { 25 26 25 /** 27 26 * Configuration keys and their types for bKash gateway -
finerspay/trunk/payments/Bkash.php
r3446450 r3446478 113 113 ]; 114 114 } catch (Throwable $error) { 115 116 115 throw $error; 117 116 } … … 308 307 ]); 309 308 310 311 312 309 if ($response && isset($response['id_token'])) { 313 310 314 311 return $response['id_token']; 315 312 } 316 317 313 318 314 return null; … … 346 342 347 343 $headers = array_merge($defaultHeaders, $headers); 348 349 350 344 351 345 $args = [ … … 374 368 $decoded = json_decode($body, true); 375 369 376 377 378 370 return is_array($decoded) ? $decoded : ['statusCode' => '9999', 'statusMessage' => 'Invalid JSON response', 'raw_body' => $body]; 379 371 } … … 443 435 $returnData->earnings = number_format($amount, 2, '.', ''); 444 436 $returnData->tax_amount = 0; 445 446 437 } else { 447 438 // Query failed - check if we have statusCode in payload as fallback … … 510 501 * @return array|null Payment status or null on failure 511 502 */ 512 private function queryPayment(string $paymentID): ? array {503 private function queryPayment(string $paymentID): ? array { 513 504 // Get grant token 514 505 $this->accessToken = $this->getGrantToken(); -
finerspay/trunk/readme.txt
r3446450 r3446478 1 === FinersPay ===1 === FinersPay - bKash Payment Gateway for Tutor LMS === 2 2 Contributors: adefiners, saifullahsiddique 3 3 Tags: tutor, lms, bkash, payment, gateway
Note: See TracChangeset
for help on using the changeset viewer.