Skip to content

red-jasmine/order

Repository files navigation

Order

Latest Version on Packagist Total Downloads Build Status

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require red-jasmine/order

Usage

订单金额计算公式

  // 商品金额 (product_amount) = 价格 * 数量
  // 订单总金额 (total_amount)  = 商品金额 + 税费 + 调整费 - 单品优惠

  // 订单 总商品金额 (product_amount)  = 所有商品金额 之和
  // 订单 总金额 (total_amount)  = 所有商品总金额 之和  + 邮费 + 调整费 - 订单优惠
  // 订单 付款金额 (payment_amount) = 订单 总金额 - 抵扣优惠

订单查询

  • 详情
  • 列表
  • 搜索

订单操作

  1. 创建
  2. 发起支付
  3. 支付成功
  4. 发货
  5. 虚拟发货
  6. 部分发货
  7. 完成发货
  8. 物流快递发货
  9. 卡密发货
  10. 订单取消
  11. 订单确认
  12. 订单评价
  13. 订单退货

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.