forci / epay-bundle
A Symfony2 bundle for working with the epay.bg payment gateway.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/forci/epay-bundle
Requires
- php: >=7.1.3
- forci/epay: ~0.1
- symfony/framework-bundle: ~3.0|~4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.8
- wucdbm/php-cs-fixers: ~0.1
This package is auto-updated.
Last update: 2025-10-16 11:10:04 UTC
README
TODO
- Tests
Usage
- Register a service that extends the
Forci\Component\Epay\Client\ClientOptionsclass - Register a service that implements the
Forci\Component\Epay\Client\PaymentHandlerInterfaceinterface - in your config.yml add:
wucdbm_epay:
client_options: "YourOptionsServiceId"
client_handler: "YourHandlerServiceId"
- Add a
new Forci\Bundle\EpayBundle\WucdbmEpayBundle(),line to your AppKernel >> A F T E R << the bundle that registers the mandatory services - Optionally, override the
wucdbm_epay.receive_urlparameter (defaults toreceive) - Mouting the
@ForciEpayBundle/Resources/config/routing.ymlfile in yourrouting.yml
wucdbm_epay:
resource: "@WucdbmEpayBundle/Resources/config/routing.yml"
prefix: /payments/epay
- The receive address will now be
/payments/epay/%wucdbm_epay.receive_url%-/payments/epay/receiveby default. This gives you the full flexibility to alter the URL at which you receive the payments. - Use the
app/console wucdbm_epay:get_receive_pathcommand to make sure you have the correct receive path - Go to epay.bg and contact their support asking them to set your correct receive URL