From ba1d958f89f67dc77dd6d7bdcb127b7dc8ad07bc Mon Sep 17 00:00:00 2001 From: Novikov Andrey Date: Wed, 23 Jan 2019 00:52:02 +0300 Subject: [PATCH] update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e1106b6..ba1eca8 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ $gateway = Omnipay::create('Sberbank'); $response = $gateway->authorize( [ 'orderNumber' => $localOrderNumber, // local order number - 'amount' => $order_amount, // The amount of payment (you can use integer, decimal with 2 precisions or string equal to decimal + 'amount' => $order_amount, // The amount of payment (you can use decimal with 2 precisions for copecs or string equal to decimal) 'returnUrl' => $callback_url, // succesfull callback url 'description' => 'Order Description' ] @@ -161,7 +161,7 @@ $gateway = Omnipay::create('Sberbank'); $response = $gateway->authorize( [ 'orderNumber' => $localOrderNumber, // local order number - 'amount' => $order_amount, // The amount of payment (you can use integer, decimal with 2 precisions or string equal to decimal + 'amount' => $order_amount, // The amount of payment (you can use decimal with 2 precisions for copecs or string equal to decimal) 'returnUrl' => $callback_url, // succesfull callback url 'description' => 'Order Description' ] @@ -210,7 +210,7 @@ $gateway = Omnipay::create('Sberbank'); $response = $gateway->capture( [ 'orderId' => $localOrderNumber, // gateway order number - 'amount' => $order_amount, // The amount of payment (you can use integer, decimal with 2 precisions or string equal to decimal + 'amount' => $order_amount, // The amount of payment (you can use decimal with 2 precisions for copecs or string equal to decimal) ] )->setUserName('merchant_login') ->setPassword('merchant_password') @@ -396,7 +396,7 @@ $response = $gateway->refund( [ 'orderId' => $localOrderNumber, // gateway order number 'language' => 'en', - 'amount' => $oder_amount // The amount of payment in kopecks (or cents) + 'amount' => $oder_amount // // The amount of payment (you can use decimal with 2 precisions for copecs or string equal to decimal) ] )->setUserName('merchant_login') ->setPassword('merchant_password')