alphazento / ecommerce
A zento ecommerce framework base on Laravel
Installs: 51
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/alphazento/ecommerce
Requires
- php: >=7.0
- alphazento/zento: >=1.0
This package is auto-updated.
Last update: 2025-09-21 02:13:40 UTC
README
Payment and Checkout process
1. request to PaymentGateway
by call api: /api/v1/payment/capture/{payment_method}
which will calls PaymentGateway::capturePayment
http request -> /api/v1/payment/capture/{payment_method} -> PaymentGateway::capturePayment
--> trig event "BeforeCapturePayment"
--> then the payment method run "capture"
--> if the payment gateway canDraftOrderAfterCapture then
--> CheckoutService::draftOrder -> trig event 'DraftOrder'
--> Zento\Sales\Event\Listener\DraftOrder will response the event, and draft a real order.