Code Monkey home page Code Monkey logo

Comments (7)

charleyw avatar charleyw commented on July 18, 2024

记得替换 [] 为真实的内容

from cordova-plugin-alipay.

lg8294 avatar lg8294 commented on July 18, 2024

这里这个error是什么原因呢

from cordova-plugin-alipay.

lg8294 avatar lg8294 commented on July 18, 2024

image
这里返回空字符串是怎么回事

from cordova-plugin-alipay.

lg8294 avatar lg8294 commented on July 18, 2024

我已经填了私钥了,签名这一步一直返回nil

from cordova-plugin-alipay.

charleyw avatar charleyw commented on July 18, 2024

找一下这个文件:[项目根目录]/platforms/ios/[你的工程名字]/config.xml
在文件里面找一下privatekey这个参数,看有没有值

    <preference name="private_key" value="MIICdgIBADANBgkqhki......SCAmAw....AJ2yLuDc6lX0UzaaOKb/GC9xIfvpWQ7Tgvk9cWQ2z6ruG5t/M7nUh6hU4yrlhfF1opxWoplglv3w+cpScXWzm0RqzFXyXPMeuen41lzZzBgrvkl9kqhJSFAACQ/A/.............." />

么有的话,说明安装的时候可能出错了。卸了重新装一下,注意填那个privatekey

from cordova-plugin-alipay.

lg8294 avatar lg8294 commented on July 18, 2024

有的,上面源码中可以取到self.privateKey,执行signString方法后返回的签名字符串一直是nil

from cordova-plugin-alipay.

charleyw avatar charleyw commented on July 18, 2024

那有可能是私钥的格式错了。确认一下是PKCS
关于私钥

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.