shoyim / click
Laravel click api services
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/shoyim/click
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.9
- illuminate/support: ^10.0|^9.0
This package is auto-updated.
Last update: 2025-10-22 10:16:59 UTC
README
Tip
This library allows you to integrate payment acceptance using "CLICK" payment system into Laravel web applications.
For the library to function properly, the user must be connected to Click Merchant using the Shop API scheme.
Detailed documentation is available here https://docs.click.uz.
Installation via Composer
composer require shoyim/click dev-main
Publish Configuration
php artisan vendor:publish --provider="Shoyim\Click\Providers\ClickServiceProvider" --tag="config" # db migration php artisan migrate
Click configuration
CLICK_ENDPOINT=https://api.click.uz/v2/merchant/ CLICK_MERCHANT_ID=your-merchant-id CLICK_SERVICE_ID=your-service-id CLICK_USER_ID=your-user-id CLICK_SECRET_KEY=your-secret-key
List of the Payments methods
-
on_invoice_creatingandon_invoice_createdfor create invoice -
on_invoice_checkingandon_invoice_checkedfor check invoice -
on_cancelingandon_canceledfor cancel payment -
on_card_token_creatingandon_card_token_createdfor create card token -
on_card_token_verifyingandon_card_token_verifiedfor verify card token -
on_card_token_payingandon_card_token_payedfor payment via card token -
on_card_token_deletingandon_card_token_deletedfor delete card token -
on_payment_checkingandon_payment_checkedfor check payment status by merchant_id -
on_checking_with_merchant_trans_idandon_checked_with_merchant_trans_idfor check payment status by merchant_trans_id
If you want check whether the payment user exists, complete this method