GithubHelp home page GithubHelp logo

cordova-plugin-alipay-v2's People

Contributors

hhjjj1010 avatar ijry avatar ruibty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cordova-plugin-alipay-v2's Issues

无法工作

Error: cmd: Command failed with exit code 1 Error output:
ע: ijЩ�����ļ�ʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ijЩ�����ļ�ʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
E:\Documents\Visual Studio 2017\Projects\TestApp\platforms\android\AndroidManifest.xml:12:9-257 Error:
Element activity#com.alipay.sdk.app.H5PayActivity at AndroidManifest.xml:12:9-257 duplicated with element declared at AndroidManifest.xml:11:9-246
E:\Documents\Visual Studio 2017\Projects\TestApp\platforms\android\AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':processDebugManifest'.

Manifest merger failed with multiple errors, see logs

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

iOS打开支付宝返回App后css动画会加速

您好,在使用这个插件时遇到一个问题,页面刷新后仍然存在这种现象,前端使用framework7框架,打开支付宝支付,再返回App目测css动画的速度会增加1/3再打开回来会在已经加速的动画上再加速1/3😊

IOS 没有回调

XCODE版本9.2
IOS版本11.3.1
node版本8.9.4
能正常调用支付宝,支付完成后无法进入回调函数,success和error都不相应,请问是什么问题
image
@hhjjj1010

IOS支付宝无法跳回

使用cordova-plugin-alipay-v2按文档检查配置之后依然无法跳转,使用另一个大佬的cordova-plugin-x-alipay解决的.
将cordova-plugin-x-alipay的AppDelegate+XAlipay.h和AppDelegate+XAlipay.m导入cordova-plugin-alipay-v2就行

cordova build ios报错

image
报错找不到文件 /Plugins/cordova-plugin-alipay-v2/alipay.m
xcode是13的
"cordova-ios": "6.1.1"

支持沙箱环境的方法

android支持沙箱环境的方法:

在项目中找到android平台对于的插件源码文件,位于应用根目录下:
platforms/android/src/cn/hhjjj/alipay/alipay.java
在payment中的PayTask前面加一行代码:
com.alipay.sdk.app.EnvUtils.setEnv(com.alipay.sdk.app.EnvUtils.EnvEnum.SANDBOX);,
重新编译运行,就可以了!

因alipay sdk版本问题导致下架

We’ve identified that your app is using the AliPay SDK or library, which facilitates the transmission of phone number information without meeting the prominent disclosure guidelines. Make sure to also post a privacy policy in both the designated field in the Play Developer Console and from within the Play distributed app itself.

If necessary, you can consult your SDK provider(s) for further information or please upgrade AliPay SDK version to 15.5.5 or higher.

能不能升级sdk版本啊

如何支持android7啊?

插件非常好用,但是cordova android7没法兼容,编译都不通过,大神可以改下嘛?

调用SDK返回4000

您好,我是按照上面的步骤安装和使用该插件。但是调用支付宝SDK后返回resultStatus:‘4000’,系统繁忙,请稍后再试。请问是哪里配置错了

在capacitor下支付完回到app不继续回调

现在是唤醒支付宝,支付成功回到了app,但是不执行成功事件,然后我用cordova执行可以继续回调下去,因为ionic-react用是capacitor的,请问要如何修改让他执行成功或者失败的回调呢

支付成功后无法回调问题

支付宝支付成功后显示空白页,无法回调, 查看Xcode的URL types,已设置过URL Schemes了,但是没回调,请问是哪里的问题呢

安卓支付宝支付流程没走完显示繁忙

我在前端使用
window.cordova.plugins.alipay.payment(payInfo,(e) => { }, (e) => { console.log("支付失败" + e.resultStatus); });
然后app点击支付后,跳出支付宝的进度条,但没有显示支付内容,直接显示系统繁忙,请稍后再试,不能完成支付,您知道是怎么回事吗

ionic2 使用

本人使用的是ionic2 开发的,开发中遇到无法什么插件的问题(declare let cordova.plugins.alipay:any;)。修改plugin.xml 中的 clobbers,发下插件无法调用,最终采取如下步骤解决:

  1. 在JS文件中调用插件
    var carJs = {
    callAlipay:function(payInfo) {
    var promise = new Promise(function(resolve, reject) {
    cordova.plugins.alipay.payment(payInfo, function success(e){
    var res = e;
    resolve(res);
    },function error(e){
    var err = e;
    reject(err);
    });
    return promise;
    }
    }

  2. 在index.html中应用此JS文件

  3. 用declare 申明carJs

  4. 在对应的ts中调用
    private alipay(params) {
    var url = params['url'];
    carJs.callAlipay(url).then(res => {

    }, err => {

    });
    }

最后谢谢楼主分享

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.