Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

mrbalov/liqpay-checkout-url-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

About

LiqPay does not have API for checkout page URL creator (online payment page). It is possible to retrieve this URL from the LiqPay API response headers. This class solves this task.

Usage

More information about parameters you can find at LiqPay documentation.

$apiParams = [
    'public_key' => 'some_public_key',
    'private_key' => 'some_private_key'
];

$paymentParams = [
    'action' => 'pay',
    'amount' => '1',
    'currency' => 'USD',
    'description' => 'description text',
    'order_id' => 'order_id_1',
    'version' => '3'
];

$url = LiqPayCheckoutUrlCreator::create(
    $apiParams,
    $paymentParams
);

About

Creates URL for the LickPay checkout (online payment page).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages