Skip to content

Commit

Permalink
Namespace change to YooKassa
Browse files Browse the repository at this point in the history
  • Loading branch information
orkhanahmadov committed Mar 28, 2021
1 parent 676e48f commit 0d937c4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `yandex-checkout` will be documented in this file

## 1.1.0 - 2021-03-28

- Namespace change to YooKassa

## 1.0.0 - 2020-11-11

- Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[![Quality Score](https://img.shields.io/scrutinizer/g/orkhanahmadov/yandex-checkout.svg)](https://scrutinizer-ci.com/g/orkhanahmadov/yandex-checkout)
[![StyleCI](https://github.styleci.io/repos/311930802/shield?branch=master)](https://github.styleci.io/repos/311930802?branch=master)

Easy and complete YooMoney (Yandex Checkout) integration for Laravel
Easy and complete YooKassa (previously Yandex Checkout) integration for Laravel

# Todo
- Test coverage
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orkhanahmadov/yandex-checkout",
"description": "Easy and complete YooKassa (Yandex Checkout) integration for Laravel",
"description": "Easy and complete YooKassa (previously Yandex Checkout) integration for Laravel",
"keywords": [
"yandex",
"yandex-checkout",
Expand All @@ -25,7 +25,7 @@
"illuminate/database": "^6.0|^7.0|^8.0",
"illuminate/queue": "^6.0|^7.0|^8.0",
"illuminate/support": "^6.0|^7.0|^8.0",
"yandex-money/yandex-checkout-sdk-php": "^1.6"
"yoomoney/yookassa-sdk-php": "^2.0"
},
"require-dev": {
"orchestra/testbench": "^4.0|^5.0|^6.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Traits/HandlesYandexCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Orkhanahmadov\YandexCheckout\Models\YandexCheckout;
use Orkhanahmadov\YandexCheckout\YandexCheckoutService;
use YandexCheckout\Request\Payments\CreatePaymentRequestInterface;
use YooKassa\Request\Payments\CreatePaymentRequestInterface;

/**
* Trait Payable.
Expand Down
4 changes: 2 additions & 2 deletions src/Models/YandexCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\Support\Arr;
use Orkhanahmadov\YandexCheckout\YandexCheckoutService;
use YandexCheckout\Request\Payments\Payment\CreateCaptureRequestInterface;
use YandexCheckout\Request\Refunds\CreateRefundRequestInterface;
use YooKassa\Request\Payments\Payment\CreateCaptureRequestInterface;
use YooKassa\Request\Refunds\CreateRefundRequestInterface;

/**
* @property int $id
Expand Down
11 changes: 5 additions & 6 deletions src/YandexCheckoutService.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
use Illuminate\Contracts\Config\Repository;
use Illuminate\Database\Eloquent\Model;
use Orkhanahmadov\YandexCheckout\Models\YandexCheckout;
use YandexCheckout\Client;
use YandexCheckout\Request\Payments\AbstractPaymentResponse;
use YandexCheckout\Request\Payments\CreatePaymentRequestInterface;
use YandexCheckout\Request\Payments\Payment\CreateCaptureRequestInterface;
use YandexCheckout\Request\Refunds\CreateRefundRequest;
use YandexCheckout\Request\Refunds\CreateRefundRequestInterface;
use YooKassa\Client;
use YooKassa\Request\Payments\AbstractPaymentResponse;
use YooKassa\Request\Payments\CreatePaymentRequestInterface;
use YooKassa\Request\Payments\Payment\CreateCaptureRequestInterface;
use YooKassa\Request\Refunds\CreateRefundRequestInterface;

class YandexCheckoutService
{
Expand Down

0 comments on commit 0d937c4

Please sign in to comment.