miguelalcaino / kushki-bundle
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1.11
- kushki/kushki-php: ^1.2
- miguelalcaino/payment-gateway: ^1.0
- symfony/config: ^4.2
- symfony/dependency-injection: ^4.2
- symfony/form: ^4.2
- symfony/http-kernel: ^4.2
- symfony/validator: ^4.2
Requires (Dev)
- symfony/phpunit-bridge: ^3.4|^4.0
This package is auto-updated.
Last update: 2025-02-24 06:54:26 UTC
README
This bundle adds the functionality of kushki payments in Miguel Alcaino's Mindbody Payments prjects. It requires Symfony > 3.4 to work properly.
Installation
composer require miguelalcaino/kushki-bundle
Configuration
In your .env
file add (replace the values with your own data):
KUSHKI_PUBLIC_ID=XXXXXXX
KUSHKI_PRIVATE_ID=YYYYYYY
Create a kushki.yaml
file in config/packages
. And add your payment handler:
miguel_alcaino_kushki:
transaction_record:
transaction_record_factory: miguel_alcaino.mindbody.transaction_record.factory
Leave that value as it is if you want to use the MiguelAlcainoMindbodyPaymentsBundle TransactionRecordFactory. If you are planning to use a custom one
it should implament MiguelAlcaino\PaymentGateway\Interfaces\Factory\TransactionRecordFactoryInterface
.
Install the routes
Create a new kushki.yaml
file under config/routes
and it should look like this:
kushki_routes:
resource: '@MiguelAlcainoKushkiBundle/Controller/'
type: annotation
Usage
TODO