Sylius payment plugin scaffold for MakePay checkout.
The plugin provides:
- a Symfony bundle entrypoint;
- Payum gateway factory registration;
- MakePay capture and status actions;
- Sylius admin gateway configuration form;
- a MakePay checkout HTTP client;
- webhook route scaffold.
composer require makepay/sylius-makepay-pluginRegister the bundle in config/bundles.php:
return [
MakePay\SyliusMakePayPlugin\MakePaySyliusMakePayPlugin::class => ['all' => true],
];Import routes:
makepay_sylius:
resource: '@MakePaySyliusMakePayPlugin/../config/routes.yaml'Then clear cache and create a MakePay payment method in the Sylius admin using the MakePay gateway factory.
Configure the MakePay webhook URL as:
https://your-shop.example.com/payment/makepay/webhook
The initial webhook controller acknowledges signed events. Production shops should connect it to their preferred payment update workflow and persistence rules.
composer validate --strict
php scripts/lint.php