Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
/vendor
/.idea
.DS_STORE

tests/Application/web
!tests/Application/web/app_test.php

tests/Application/var/*

tests/Application/node_modules

*.sublime-project
*.sublime-workspace
*.DS_Store
/composer.lock
/vendor
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
# Sylius GoPay payment gateway plugin
<div align="center">
<a href="http://sylius.com" title="Sylius" target="_blank"><img src="https://demo.sylius.com/assets/shop/img/logo.png" width="300" /></a>
<br />
<br>
<a href="https://www.gopay.com" title="GoPay" target="_blank"><img src="https://dl.dropboxusercontent.com/s/af8fiebcqmk9wgm/GoPay-logo-varianta-A-PANTONE.png" width="300" /></a>
</div>

## Installation

```bash
$ composer require czende/gopay-plugin
Until pull request is merged, require it this way:
```json
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/bratiask/gopay-plugin"
}
],
"require": {
"bratiask/gopay-plugin": "^1.10"
}
}
```
Add plugin dependencies to your AppKernel.php file:

Add plugin dependencies to your bundles.php file:

```php
public function registerBundles()
{
return array_merge(parent::registerBundles(), [
...

new \Czende\GoPayPlugin\GoPayPlugin(),
]);
}
Bratiask\GoPayPlugin\GoPayPlugin::class => ['all' => true]
```

## Usage
Add your test credentials in Sylius admin as new payment method. Complete couple of orders with different states and send email to GoPay authorities.
After the review you will get production credentials, so just change it in Sylius admin and you are ready to go.
After the review you will get production credentials, so just change it in Sylius admin and you are ready to go.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "czende/gopay-plugin",
"name": "bratiask/gopay-plugin",
"type": "sylius-plugin",
"description": "GoPay payment gateway plugin for Sylius applications.",
"license": "MIT",
"require": {
"php": "^7.1",
"sylius/sylius": "^1.0",
"gopay/payments-sdk-php": "^1.3.4"
"php": "^8.0",
"sylius/sylius": "^1.10",
"gopay/payments-sdk-php": "^1.4.5"
},
"autoload": {
"psr-4": {
"Czende\\GoPayPlugin\\": "src/"
"Bratiask\\GoPayPlugin\\": "src/"
}
}
}
}
Loading