Skip to content

Commit

Permalink
Update: readme & example config
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Oct 10, 2015
1 parent b1f85ff commit 44d68ab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ $gopay->allowChannel($gopay::METHOD_GOPAY);

Tato nastavení můžeme provést i v konfiguračním souboru:

```neon
```yaml
gopay:
channels:
transfer: no # deny
Expand All @@ -128,6 +128,13 @@ gopay:
image: /my-channel.png
```

Pokud chceme umožnit změnit **channel** na straně GoPay:

```yaml
gopay:
changeChannel: yes
```

### Provedení platby

Platbu lze uskutečnit v následující krocích. Nejprve je třeba si vytvořit
Expand Down
7 changes: 6 additions & 1 deletion example/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ gopay:
gopayId: ***
gopaySecretKey: ******
testMode: yes

# List platebních kanálů
channels:
gopay: 'Gopay - Elektronická peněženka'
card_gpkb: 'Platba kartou - Komerční banka, a.s. - Global Payments'
card_gpkb: 'Platba kartou - Komerční banka, a.s. - Global Payments'

# Umožňuje změnit platební kanál na straně GoPaz
changeChannel: yes # no

0 comments on commit 44d68ab

Please sign in to comment.