Download the PHP package lexty/robokassa without Composer
On this page you can find all versions of the php package lexty/robokassa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lexty/robokassa
More information about lexty/robokassa
Files in lexty/robokassa
Package robokassa
Short Description PHP library for Robokassa payment system
License MIT
Homepage https://github.com/lexty/robokassa
Informations about the package robokassa
PHP library for Robokassa payment system
Installation
Examples
Create payment:
Check payment result:
Check payment on Success page:
Pay a commission for the buyer
For paying comission for the buyer is sufficient to simply call $payment->setShopCommission(true)
Please bear in mind that a user who is on the payment page ROBOKASSA can change the payment method with another commission. In this case, he will pay a different amount.
Getting list of currency
Returns the list of currencies available to pay for the orders from a particular store/website.
It is used to specify the value of $payment->setPaymentMethod($method)
and to display the available payment options
right on your website, if you wish to give more information to your clients.
Returns
Getting list of available payment method groups
Returns the list of payment methods available to pay for the orders from a particular store/website.
It is used to display the available payment methods right on your website, if you wish to give more
information to your clients. The key difference from the $payment->getCurrencies()
– is that no
detailed information is shown here for all payment options, while only payment groups/methods are
displayed.
Returns
Calculating the amount payable including ROBOKASSA’s charge
Helps calculate the amount payable by the buyer including ROBOKASSA’s charge (according to the service plan) and charges of other systems through which the buyer decided to pay for the order. It may be used both for your internal payments and to provide additional information to the clients on your website.
Returns
Outgoing summ calculation
Helps calculate the amount receivable on the basis of ROBOKASSA prevailing exchange rates from the amount payable by the user.
Operation State
Returns detailed information on the current status and payment details.
Please bear in mind that the transaction is initiated not when the user is redirected to the payment page, but later – once his payment details are confirmed, i.e. you may well see no transaction, which you believe should have been started already.
Returns
License
MIT
All versions of robokassa with dependencies
ext-curl Version *