Git Product home page Git Product logo

payproxy's Introduction

问题概述

我们在使用支付宝等平台提供的支付接口,都需要一个外网的http回调地址,用于异步接收支付平台传递的支付参数和结果。但在开发环境中,我们的本地环境一般是没有独立的对外ip地址的,这就造成开发的时候,无法调试查看支付平台传递来的支付参数和结果,给开发过程造成很大的麻烦。

解决方案

本解决方案的目标是本地开发环境不变,在部署环境的服务器上架设一个支付回调代理服务,用于接收支付平台传递来的支付参数,然后把这些参数推送到开发环境,最终参数传到开发环境的IIS,开发者只要对IIS下断就可以看到支付回调参数,继而完成对应的逻辑。

工作流程

Alt text

payproxy's People

Contributors

xljiulang 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.