定制 maxfactor/checkout 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maxfactor/checkout

Composer 安装命令:

composer require maxfactor/checkout

包简介

'Maxfactor checkout'

README 文档

README

Packagist

Authors:

Overview

A Laravel checkout companion to work with Maxfactor Vue Cart.

Dependencies

Configuration

Environment configuration:

This package exposes the following configuration options:

pca_key: Postcode Anywhere Key, set if this service is being used minimum_order: Order must reach this value to be processable. Defaults to £1.00.

If the configuration is published the default Checkout and Postage models can be changed. See development notes for more about this.

Development notes

In the host project you will typically use the HandlesCheckout trait on a Checkout model. This will allow you to access the checkout data via the getCurrentCheckoutParams() method. This can then be processed in accordance with your projects order generation needs.

Checkout data accessed with the getCurrentCheckoutParams() method includes user and product and information.

The CheckoutController in this package uses a show() and store() method which is applied to each stage of the checkout to show the view and store the content repectively. The show and store functionality is performed by the HandlesCheckout trait. Custom functionality can be achieved by overloading these methods on the Checkout model implementing it in your project.

This package also provides a HandlesPostage trait which can be implemented in a similar fashion to the HandlesCheckout trait. This allows you to use custom delivery date configurations in your host application.

A flow diagram is included in this repository to illustrate what is intended to happen at each stage of the checkout and the methods called to achieve this. Flowmap

统计信息

  • 总下载量: 333
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固