alphazento/ecommerce
Composer 安装命令:
composer require alphazento/ecommerce
包简介
A zento ecommerce framework base on Laravel
README 文档
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.
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-20