Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Novikov Andrey committed Jan 22, 2019
1 parent cd57ad7 commit ba1d958
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
Expand Down Expand Up @@ -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'
]
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit ba1d958

Please sign in to comment.