hostbox / api-payu-nette-bridge
Nette bridge for PayU API
Installs: 7 376
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- hostbox/api-payu: ~1.0.0
- nette/di: ~2.2
Requires (Dev)
- nette/nette: ~2.2
- nette/tester: ~1.0
This package is not auto-updated.
Last update: 2024-12-21 17:17:22 UTC
README
Package Installation
The best way to install Social Plugins is using Composer:
$ composer require hostbox/api-payu-nette-bridge
or manual edit composer.json in your project
"require": { "hostbox/api-payu-nette-bridge": "~1.1.0" }
Bridge Installation
Registration
extensions:
payu: HostBox\Bridge\PayU\Extension
Configuration: Single POS
Autowire and inject is ON
payu:
posId: '123456789'
posAuthKey: 'qwertyuiop'
key1: 'asdfghjkl'
key2: 'zxcvbnm'
services:
- MyFirstService
- MySecondService(@payu.default) #manual inject
Configuration: Multi POS
Autowire and inject is OFF
payu:
firstPOS:
posId: '123456789'
posAuthKey: 'qwertyuiop'
key1: 'asdfghjkl'
key2: 'zxcvbnm'
secondPOS:
posId: '987654321'
posAuthKey: 'poiuytrewq'
key1: 'lkjhgfdsa'
key2: 'mnbvcxz'
encoding: 'ISO'
format: 'txt'
services:
- MyFirstService(@payu.firstPOS)
- MySecondService(@payu.secondPOS)