aivus/orocommerce-collect-on-delivery
Monolithic vs. Modular Fit: The package is a Symfony bundle designed for OroCommerce, a headless eCommerce platform built on Symfony. It extends OroCommerce’s core functionality by adding Cash on Delivery (COD) as a payment method.
Design Patterns:
oro_order_payment events) for payment processing.PaymentMethod system.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| OroCommerce Version Lock | High | Verify compatibility with the target OroCommerce version. May require forking. |
| Undocumented Behavior | High | Conduct manual integration testing (e.g., order flow, refunds, cancellations). |
| Database Schema Changes | Medium | Check for migrations; may conflict with existing DB. |
| Event-Driven Logic | Medium | Audit all subscribed events (e.g., oro_order_payment.update) for side effects. |
| UI/UX Gaps | Low | Ensure frontend templates (Twig) align with OroCommerce’s theme. |
| Performance Impact | Low | COD is typically lightweight; monitor query overhead. |
composer require aivus/orocommerce-collect-on-delivery
config/bundles.php:
return [
// ...
Aivus\OroCommerceCollectOnDeliveryBundle\AivusOroCommerceCollectOnDeliveryBundle::class => ['all' => true],
];
config/packages/oro_order.yaml or similar to enable COD globally/per region.oro_order:
payment_methods:
collect_on_delivery:
enabled: true
regions: [US, CA]
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
oro_order_payment_method_cod).symfony/event-dispatcher) match OroCommerce’s constraints.pdo, pdo_mysql, and other OroCommerce dependencies are installed.How can I help you explore Laravel packages today?