kwreczycki / sylius-przelewy24-bundle
Przelewy24 payment integrations for Sylius e-commerce application.
dev-master / 1.1.x-dev
2016-11-17 17:18 UTC
Requires
- php: >=5.3.3
- doctrine/doctrine-fixtures-bundle: ^2.2
- guzzlehttp/guzzle: ~6.0
- mockery/mockery: ^0.9.4
- payum/payum: ~0.14.0
- payum/payum-bundle: ~0.14.2
- phpunit/phpunit: ~4.1
- sylius/order-bundle: 0.15.*@dev
- sylius/resource-bundle: 0.15.*@dev
This package is not auto-updated.
Last update: 2025-03-01 20:45:27 UTC
README
Sylius przelewy24 payments integration
Instalation
1. Download bundle
"require": {
"kwreczycki/sylius-przelewy24-bundle": "*@dev"
}
2. Register Bundle
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new \KW\Bundle\SyliusPrzelewy24Bundle\SyliusPrzelewy24Bundle() ); }
3. Configure application
// app/config/parameters.yml przelewy24.api.sandbox: true # false on production przelewy24.api.gateway_id: EDITME przelewy24.api.crc_key: EDITME przelewy24.api.return_url_domain: http://localhost:8000 # your service domain
payum: payments: przelewy24: przelewy24: api: sandbox: %przelewy24.api.sandbox% gateway_id: %przelewy24.api.gateway_id% crc_key: %przelewy24.api.crc_key% return_url_domain: %przelewy24.api.return_url_domain% apis: - sylius.payment.payum.przelewy24.api actions: - sylius.payment.payum.przelewy24.notify - sylius.payment.payum.przelewy24.capture - sylius.payment.payum.przelewy24.capture_offsite - sylius.payment.payum.przelewy24.status
4. Add payment method to database
Execute php app/console doctrine:fixtures:load