1 Star 0 Fork 60

宇宙星星 / fastpay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

Fastpay

Fastpay的目标是打造一款开源的、轻量级的、微服务化的、可共私有云部署的、可定制化的集成聚合支付和资金清结算于一体的统一支付系统,满足互联网企业业务系统的收款和资金处理等需求。

以龙果支付为基础,构建的统一支付系统聚合微信支付宝的扫码、被扫,H5等支付方式,并提供账务和企业资金处理能力,拟分解为:API管理,支付核心,路由渠道,账务账户,清结算、对账中心,商户平台,运营平台,商户通知,分布式任务调度系统,配置系统,客户系统,使用Spring Cloud进行微服务化,可公有云部署亦可私有云部署,提供完备的架构和设计文档、开发文档、API文档和商户/用户向导,并且配合《支付平台架构》一书出版。

感兴趣的小伙伴可以加入我们,为开源事业贡献一份力量,在这里可以学习高大上的支付业务,也可以学习微服务再支付平台的落地,更可以和各位服务架构的作者们一起写作《支付平台架构》一书。

业务价值

在国内,网民已经超过6亿人口,其中有至少5亿人口在使用移动支付,因此,对移动支付的需求非常强烈,当前的移动支付入口由微信和支付宝占有,用户已经习惯了使用微信和支付宝来付款,中小型电商等公司有支付需求,当前只能对接完微信后再对接支付宝,其成本高昂,实施周期长,我们这里算一笔账,假设一个电商公司成立统一支付组,共需要5人,3人开发,1人测试,1个产品,一年的投入不下于100万,如果有成熟的开源产品,或者有成熟的云平台,帮助电商公司等进行收款以及附加的资金处理等,对于企业来讲那将是乐此不彼。

演示地址

在线支付演示:http://www.ifastpay.cn/ 天下技术,为快不破,天下支付,唯快才付。 当前只支持微信支付,支付宝、公众号等在开发中。 云时代社区地址: http://www.cloudate.net/

技术亮点

  1. 在支付系统上实施微服务架构,使用最流行的Spring Cloud做服务化。
  2. 设计天生可伸缩的数据存储,直接使用分库分表。
  3. 使用缓存进行加速交易过程,提高用户体验。
  4. 将回调通知、入账等异步化,提高用户响应能力。
  5. 使用分布式定时任务系统将任务调度与交易隔离。
  6. 使用当前最先进的单元化架构实现可水平伸缩。
  7. 有完善的文档,最后配合项目出版《支付平台架构》一书,作为统一支付的白皮书。
  8. 通过技术手段构建一站式可定制化的企业支付平台。

总体计划(Milestones)

序号 任务 贡献者 状态 完成时间
1 以龙果支付代码为基础,初始化fastpay的代码 程延 完成 2018.2.10
2 架构设计,拆分模块,定义各个模块之间的关系,模块职责的定义 艳鹏、张诚、程延、杨老师 进行中
3 核心模块设计 艳鹏、李鹏
4 编码编码实现 艳鹏、李鹏
5 产品设计、文档整理中,出版《支付平台架构》 艳鹏、东超、TiRE、雷默
6 持续优化
7 DevOps运维架构,质量测试开发 IT诸葛亮
8 质量测试和信息安全,质量测试开发 IT诸葛亮

总体架构

分支管理

  • 生产分支:master,生产环境发版本
  • 稳定分支:develop,对应阿里云QA环境
  • 开发分支:dev_chengyan_running、dev_yanpeng......

版本管理流程:每位开发者从develop分支切自己的开发分支,例如:dev_chengyan_running、dev_yanpeng,开发完成并测试,合并到develop上,QA测试后对外发版后,再合并到master。

项目结构

  1. fast-pay-app-notify: 通知应用工程,独立jar方式启动。
  2. fast-pay-app-order-polling: 订单应用工程,独立jar方式启动。
  3. fast-pay-app-reconciliation: 对账应用工程,独立jar方式启动。
  4. fast-pay-app-settlement: 结算应用工程,独立jar方式启动。
  5. fast-pay-common-core: 公共类工程,不用单独部署。
  6. fast-pay-service: 核心业务类工程,不用单独部署。
  7. fast-pay-web-boss: 运营管理后台,部署tomcat启动。
  8. fast-pay-web-gateway: 支付网关工程,部署tomcat启动。
  9. fast-pay-web-merchant: 商户后台工程,部署tomcat启动。
  10. fast-pay-web-sample-shop: 模拟商城工程,部署tomcat启动。

角色划分

  • 发起人:艳鹏、东超
  • 产品经理:东超
  • 架构师:艳鹏、张城(freewolf)、杨彪
  • 开发负责人:程延
  • 质量测试负责人:IT诸葛亮(Software Luke)
  • Devops负责人:IT诸葛亮(Software Luke)
  • 文档负责人:TiRE、雷默
  • 账务账户:贾博岩
  • 核心交易:李鹏(oldman)、宇涛、孙牧原、梁鹏举
  • 运营平台:李鹏(oldman)、布娃娃、梁鹏举
  • 商户平台:李鹏(oldman)、布娃娃、梁鹏举
  • 客户通知:李栋梁(蜗牛君)
  • 清算结算:柯常荣
  • 渠道路由:马刚、李勇
  • 风控掌门:曲老板

密码申请

运营管理系统登录账号密码:admin/123456
商户后台系统登录账号密码:在boss运营后台添加用户时录入手机和密码
13436881186/youarebest

饮水思源

目前以龙果支付为基础,虽然处于初级阶段,但是我们对整个实施的过程和思路都是非常清晰的,我们后续会梳理龙果支付的项目代码,进行微服务化。

我们坚决拥护Apache开源协议,在原协议的基础上,我们仍然使用Apache协议,任何修改后的项目全部开源,由云时代架构社区来维护。

加入项目

加入项目请关注Fastpay快付公众号,后台回复"+fastpay",然后,提供微信、邮箱、码云账号等。

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright {yyyy} {name of copyright owner} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

Fastpay的目标是打造一款开源的、轻量级的、微服务化的、可公私有云部署的、可定制化的集成聚合支付和资金清结算于一体的统一支付系统,满足互联网企业业务系统的收款和资金处理等需求。 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/gslmx/fastpay.git
git@gitee.com:gslmx/fastpay.git
gslmx
fastpay
fastpay
master

搜索帮助

14c37bed 8189591 565d56ea 8189591