Code Monkey home page Code Monkey logo

alipay_scanpay_demo's Introduction

该demo为支付宝扫码支付官方demo的PHP版本,因其不支持回调验证,特制追加回调验证功能

具体更改如下:

1、删除原有当面付2.0版集成说明文档-PHP版.docx文档
2、修改原有readme.txt文件
3、将电脑网址支付PHP版demo下的lib及pagepay目录拷贝到该目录下
4、新增Scanpay.class.php文件,用于调用该demo中对应方法
5、修改Scanpay.class.php文件中引入config.php及AlipayTradeService.php所在路径
6、将获取到的回调参数传入其中即$data
7、编写check方法用于回调验证

其他说明:

支付宝公私钥、appid等参数仍旧使用官方demo下的配置
具体路径为:scanPay\f2fpay\config\config.php

联系方式:(添加请注明技术咨询)

本人QQ:980569038
TP集成支付宝群:594955172

alipay_scanpay_demo's People

Contributors

paopao7 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.