WT YooKassa PHP library forJoomla

WT YooKassa PHP library forJoomla

Downloads 2337 Hits 2684 CTR 87% Pack Free

The official PHP library of the YooKassa payment service, "wrapped" in a package for use in Joomla 4 and 5. For Joomla PHP developers.

WT YooKassa PHP library forJoomla

Description

This extension is for Joomla developers, it will be useful when creating payment addons and plugins for various components of online stores, components and donation modules. It needs to be installed as a dependency along with your extension.

Starting from version 3.3.0, the library supports only Joomla 5. 2 dependency libraries have been added to the package: YooKassa Validator and Data Structures for PHP. The minimum version of PHP is 8.1. The plugin for registering namespaces has been removed.

Payment service page
https://yookassa.ru  
Documentation page for YooKassa developers
https://yookassa.ru/developers  
Library repository
https://git.yoomoney.ru/projects/SDK/repos/yookassa-sdk-php/browse/lib

Example of use in the code

use YooKassa\Client;

$client = new Client();
$client->setAuth('shopId', 'secretKey');
echo '<pre>';
print_r($client);
echo '</pre>';

Example of a printed object

YooKassa\Client Object
(
    [apiClient:protected] => YooKassa\Client\CurlClient Object
        (
            [config:YooKassa\Client\CurlClient:private] => Array
                (
                    [url] => https://api.yookassa.ru/v3
                )

            [shopId:YooKassa\Client\CurlClient:private] => shopId
            [shopPassword:YooKassa\Client\CurlClient:private] => secretKey
            [bearerToken:YooKassa\Client\CurlClient:private] => 
            [timeout:YooKassa\Client\CurlClient:private] => 80
            [connectionTimeout:YooKassa\Client\CurlClient:private] => 30
            [proxy:YooKassa\Client\CurlClient:private] => 
            [userAgent:YooKassa\Client\CurlClient:private] => YooKassa\Client\UserAgent Object
                (
                    [_os:YooKassa\Client\UserAgent:private] => Undefined/0.0.0
                    [_php:YooKassa\Client\UserAgent:private] => PHP/7.4.33
                    [_framework:YooKassa\Client\UserAgent:private] => 
                    [_cms:YooKassa\Client\UserAgent:private] => 
                    [_module:YooKassa\Client\UserAgent:private] => 
                    [_sdk:YooKassa\Client\UserAgent:private] => YooKassa.PHP/2.4.2
                )

            [keepAlive:YooKassa\Client\CurlClient:private] => 1
            [defaultHeaders:YooKassa\Client\CurlClient:private] => Array
                (
                    [Content-Type] => application/json
                    [Accept] => application/json
                )

            [curl:YooKassa\Client\CurlClient:private] => 
            [logger:YooKassa\Client\CurlClient:private] => 
        )

    [login:protected] => shopId
    [password:protected] => secretKey
    [config:protected] => Array
        (
            [url] => https://api.yookassa.ru/v3
        )

    [timeout:protected] => 
    [attempts:protected] => 3
    [logger:protected] => 
)

Joomla

Extension type:
Package
Package composition:
Library, Plugin
Joomla version:
4.0, 4.3.2, 4.3.4, 5.0, 5.0.0, 5.1.4, 5.2.0, 5.2.2

What's new

Addition

v.3.7.1 - v.3.7.3

v3.7.3 from 05.12.2024
Extending ApiException exceptions
v3.7.2 from 03.12.2024
Url validation has been removed
digital_kassa and komtet online sales registers have been added
v3.7.1 from 10/28/2024
Added the cancellation_details object in the invoice object

WebTolk Joomla Extensions

90 Extensions
11 Categories
401 Versions released
396600 Downloads
Cart
Cart is empty