Giter Site home page Giter Site logo

Comments (6)

charleyw avatar charleyw commented on July 27, 2024 1

肯定是要校验的。在前端弄只是为了简单。

from cordova-plugin-alipay.

zhang988925 avatar zhang988925 commented on July 27, 2024

目前的解决方法是异步通知的时候校验金额

from cordova-plugin-alipay.

zhang988925 avatar zhang988925 commented on July 27, 2024

可以在服务端签名 然后传给本地payInfo调用
String result = alipay.pay(payInfo);

from cordova-plugin-alipay.

nuying117 avatar nuying117 commented on July 27, 2024

我基于作者的原版fork了一份,把私钥参数给去掉了
https://github.com/nuying117/cordova-plugin-alipay

from cordova-plugin-alipay.

nuying117 avatar nuying117 commented on July 27, 2024

楼主提出的这个问题,根本原因在于私钥加密的字串不该在客户端做,本身就该多一步,加密串由客户端从服务端获取,然后客户端只负责提交,现在这个实现把私钥放客户端,本身就有安全问题。

from cordova-plugin-alipay.

fish-ball avatar fish-ball commented on July 27, 2024

这个 Issue 可以关了吧

from cordova-plugin-alipay.

Related Issues (20)

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.