Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ddly committed Apr 17, 2024
1 parent ec09473 commit d974676
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 12 deletions.
41 changes: 29 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
# Magento2-Tpay-GraphQL
# Tpay Payments Module supporting GraphQL for Magento 2

[Tpay](https://tpay.com) payment gateway Magento2 module for GraphQL.
### Basic information

## Installation process
Official module for fast online payments via Tpay on Magento 2 switch supporting GraphQl.
The module is an extensible [Magento2 module for Tpay](https://github.com/tpay-com/tpay-magento2-basic). To manage with Magento 2 GraphQL, you
need two modules: Magento2 basic and Magento2 GraphQL.

1. Run `composer require tpay-com/magento2-graphql`
### Requirements

2. Execute following commands to enable module:
```console
php bin/magento module:enable Tpay_Magento2GraphQl
php bin/magento setup:upgrade
php bin/magento setup:di:compile
```
- [Tpay module installed (from version 2.0.0)](https://github.com/tpay-com/tpay-magento2-basic)
- Composer on the server

## Schema
You can find that explains GraphQl queries/mutations defined by module in `etc/schema.graphqls`.
### Module installation via Composer

1. Download the module files. In the main Magento folder, run the command:

```
composer require tpay-com/magento2-graphql
```

2. Turn on the module. In the main Magento folder, run the command:

```
php bin/magento module:enable Tpay_Magento2GraphQl
php bin/magento setup:upgrade
php bin/magento setup:di:compile
```

### Technical assistance

If you have any questions, please contact Tpay Customer Service at this link: https://tpay.com/kontakt

### [Changelog](https://github.com/tpay-com/tpay-magento2-graphql/releases)
36 changes: 36 additions & 0 deletions README_PL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Moduł Płatności Tpay obsługujący GraphQL dla Magento 2

### Podstawowe informacje

Oficjalny moduł szybkich płatności online za pośrednictwem Tpay na platformie Magento 2 obsługujący GraphQl.
Moduł jest rozszerzeniem głównego modułu [Magento2 module for Tpay](https://github.com/tpay-com/tpay-magento2-basic).
Aby móc skorzystać z Magento 2
GraphQL należy zainstalować oba moduły: Magento2 basic oraz Magento2 GraphQL.

### Wymagania

- [Tpay module installed (from version 2.0.0)](https://github.com/tpay-com/tpay-magento2-basic)
- Program composer na serwerze

### Instalacja modułu przez Composer

1. Pobierz pliki modułu. W głównym folderze Magento wpisz komendę:

```
composer require tpay-com/magento2-graphql
```

2. Uruchom moduł. W głównym folderze Magento wpisz komendę:

```
php bin/magento module:enable Tpay_Magento2GraphQl
php bin/magento setup:upgrade
php bin/magento setup:di:compile
```

### Wsparcie techniczne

W przypadku dodatkowych pytań zapraszamy do kontaktu z Działem Obsługi Klienta Tpay pod tym
linkiem: https://tpay.com/kontakt

### [Changelog](https://github.com/tpay-com/tpay-magento2-graphql/releases)

0 comments on commit d974676

Please sign in to comment.