lolautruche / payline-bundle
Symfony integration for Payline payment system
Installs: 168 357
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 5
Forks: 9
Open Issues: 4
Type:symfony-bundle
Requires
- php: ^7.2.5|^8.0.2
- ext-soap: *
- monext/payline-sdk: ^4.59
- symfony/expression-language: ^4.4|^5.0
- symfony/framework-bundle: ^4.4|^5.0
- symfony/property-access: ^4.4|^5.0
Requires (Dev)
README
Integrates Payline payment solution with Symfony.
Features
- Service integration and simple semantic configuration
- Simplified API for web payments
- Automatically validates web payments
- Extensibility using events
Requirements
Payline account
You will of course need a valid Payline account.
Mandatory elements from you Payline account are:
- Merchant ID
- Access key, which you can generate in Payline admin
- Contract number, related to the means of payment you configured in Payline admin
PHP
- PHP >=7.2.5
- PHP SOAP extension for Payline SDK
Symfony
Symfony 4.4 / 5.x
For support of earlier versions of Symfony, refer to:
Installation
This bundle is installable with Symfony Flex. You first need to allow contrib recipes before requiring the package:
composer config extra.symfony.allow-contrib true
composer req lolautruche/payline-bundle
Everything will be pre-configured for you; however, ensure to Encrypt sensitive environment variables,
e.g. PAYLINE_MERCHANT_ID
and PAYLINE_ACCESS_KEY
with secrets:set
command:
php bin/console secrets:set PAYLINE_MERCHANT_ID php bin/console secrets:set PAYLINE_ACCESS_KEY
Documentation
See Resources/doc/