royalpunk / paybox-bundle
Paybox bundle.
Installs: 1 455
Dependents: 0
Suggesters: 0
Security: 0
Type:symfony-bundle
pkg:composer/royalpunk/paybox-bundle
Requires
- php: >=8.2
- ext-curl: *
- symfony/config: ^7.0
- symfony/dependency-injection: ^7.0
- symfony/form: ^7.0
- symfony/framework-bundle: ^7.0
- symfony/http-foundation: ^7.0
- symfony/http-kernel: ^7.0
- symfony/routing: ^7.0
- symfony/twig-bundle: ^7.0
- symfony/validator: ^7.0
Requires (Dev)
- phpunit/phpunit: ^10.0
- symfony/phpunit-bridge: ^7.0
README
Configuration
To configure the bundle, you will have to enter the api key, secret and list of templates :
# app/config/paybox.yml
paybox:
parameters:
production: false # Switch between Paybox test and production servers
site: 'XXXXX' # Site number
rank: 'XXX' # Rank number
login: 'XXXXXXX' # Customer's login
hmac:
key: 'XXXXXXX' # Key used to compute the hmac hash
Setup
Add RoyalPunk\Bundle\PayboxBundle\PayboxBundle to your bundles.php:
$bundles = [
// ...
RoyalPunk\Bundle\PayboxBundle\PayboxBundle::class => ['all' => true]
];
Limitation
For the moment, the bundle was developed for experimental purposes. Changes and adjustements may be added for a more complete use.