tongchia / cordova-plugin-pingpp Goto Github PK
View Code? Open in Web Editor NEWPing++ 支付 Cordova / PhoneGap 插件
Home Page: https://github.com/TongChia/cordova-plugin-pingpp
License: Apache License 2.0
Ping++ 支付 Cordova / PhoneGap 插件
Home Page: https://github.com/TongChia/cordova-plugin-pingpp
License: Apache License 2.0
你好,请问URL_SCHEME 是什么东西,该怎么设置?
安装的时候报下面这个错,请问是什么原因?
Failed to install 'me.tongchia.cordova.pingpp':Error: Cannot find module 'ansi-styles'
请问这是什么问题?
@TongChia 官方更新SDK了,能不能同步一下:)谢谢你的贡献
失败的时候会返回"fail",但是成功的时候,直接弹窗"Unfortunately XXX has stopped",然后应用直接关掉了。这是什么原因?安卓平台版本的问题?
我安装的是只有微信和支付宝版本的pingpp
报的错是:cannot find module ansi-style
请问报 fail 是什么原因,是我配置的参数不对吗
用 cordova plugin install https://github.com/TongChia/cordova-plugin-pingpp.git 安装不上啊?为什么呢?
执行cordova plugin add https://github.com/TongChia/cordova-plugin-pingpp.git安装,报错:
Failed to install 'me.tongchia.cordova.pingpp': Error: Cannot find module 'ansi-styles'
安装报错,显示找不到 plugins/me.tongchia.cordova.pingpp/sdk/android/lib/pingpp/libs/libpingpp-2.1.3.jar,发现pingpp-android sdk那边同目录下是 libpingpp-2.1.4.jar 了
Error: Cannot find module 'ansi-styles'
ld: '/Users/apple/Documents/papasong/platforms/ios/xxx/Plugins/co.airsia.cordova.pingpp/libpingpp+alipay.a(PingppInternal+Alipay.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我看您写的libammsdk.jar是重写了微信的libammsdk.jar包,但是我在做微信登录时不得不用它的libammsdk.jar,但是这样造成了包名、类名冲突;怎么修改下让包名和类名不冲突
请更新一下lib版本 基本都已经过期 这样的用户体验性是真的差 谢谢!
安装成功了,但是调用pingpp没有反应,请问怎么处理。
我alert(pingpp)都没有反应。
我的项目存放在一个叫cordova project的文件夹下,这个时候去运行
cordova plugin add https://github.com/TongChia/cordova-plugin-pingpp.git的时候
会报错,错误提示是:
Failed to install me.tongchia.cordova.pingpp
:undefined
Error:Clone android SDK failed!
也就是说当文件夹名字带空格的时候,会安装失败。终于找到这个大坑了
支付宝支付没有问题,使用银联支付的时候,android5会出现闪退的情况,android4.2则返回fail。服务器返回的charge正常,请问是怎么回事?
作者能看看吗?
模拟测试时候点击三个按钮都不跳转回app,不清楚URL_SCHEME具体怎么使用,求教,谢谢了
Unable to find explicit activity class {com.utaogo.store.android.Client/com.utaogo.store.android.Client.wxapi.WXPayEntryActivity}; have you declared this activity in your AndroidManifest.xml? 然而我调用的是alipay,
你好,TongChia.我想问一下这个插件在ionic项目中怎么使用啊?
1、我首先用这句下载了插件的时候报错,但是东西下载到了plugins中,也不知道可不可以用?
cordova plugin add co.airsia.cordova.pingpp --variable URL_SCHEME=shiguoqingapproval
错误信息:
Fetching plugin "co.airsia.cordova.pingpp" via cordova plugins registry
SyntaxError: Unexpected token <
at Object.parse (native)
at getJson (C:\Users\shiguoqing\AppData\Roaming\npm\node_modules\cordova\nod
e_modules\cordova-lib\src\plugman\util\metadata.js:29:31)
at Object.exports.save_fetch_metadata (C:\Users\shiguoqing\AppData\Roaming\n
pm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\metadata.js:56
:24)
at C:\Users\shiguoqing\AppData\Roaming\npm\node_modules\cordova\node_modules
\cordova-lib\src\plugman\fetch.js:152:18
at fulfilled (C:\Users\shiguoqing\AppData\Roaming\npm\node_modules\cordova
node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\shiguoqing\AppData\Roaming\npm\node_m
odules\cordova\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Users\shiguoqing\AppData\Roaming\npm
node_modules\cordova\node_modules\q\q.js:749:13)
at C:\Users\shiguoqing\AppData\Roaming\npm\node_modules\cordova\node_modules
\q\q.js:557:44
at flush (C:\Users\shiguoqing\AppData\Roaming\npm\node_modules\cordova\node
modules\q\q.js:108:17)
at process._tickCallback (node.js:355:11)
2、于是我用这句下载了插件,也报了上面的错误
cordova plugin add https://github.com/TongChia/cordova-plugin-pingpp.git --variable URL_SCHEME=shiguoqingapproval
3、上面的都不管,安装成功之后我就把你的代码复制到了controller中,运行项目就一直报找不到pingpp,这个问题怎么解决?????
报alipaySdk-20160223.jar not found!的错 官网的jar包已经更新了 我为我的项目添加了最新的jar包但是还是报错 是否是jar包名不一致造成的?现在的jar包是alipaySdk-20160825.jar
lib下libammsdk.jar重复的话,请跳过生成或者强制覆盖。不要安装一半断掉。所以请处理一下这个情况。
This is performed on the MAC cordova platform add ios times of wrong, how should solve?
cordova plugin add https://github.com/TongChia/cordova-plugin-pingpp.git Installing "me.tongchia.cordova.pingpp" for ios Cloning ping++ ios SDK, Please wait... Cloning into '/Users/LEO/WorkSpace/blinddate_new/plugins/me.tongchia.cordova.pingpp/sdk/ios'... Error during processing of action! Attempting to revert... Failed to install 'me.tongchia.cordova.pingpp': CordovaError: Uh oh! "/Users/LEO/WorkSpace/blinddate_new/plugins/me.tongchia.cordova.pingpp/sdk/ios/lib/Channels/Wx/libpingpp+wx.a" not found! at copyFile (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/lib/plugman/pluginHandlers.js:319:36) at copyNewFile (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/lib/plugman/pluginHandlers.js:351:5) at installHelper (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/lib/plugman/pluginHandlers.js:269:13) at install (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/lib/plugman/pluginHandlers.js:35:13) at Object.process (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:117:20) at PluginManager.addPlugin (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:147:17) at Api.addPlugin (/Users/LEO/WorkSpace/blinddate_new/platforms/ios/cordova/Api.js:235:10) at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:619:6) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:379:28 Error: Uh oh! "/Users/LEO/WorkSpace/blinddate_new/plugins/me.tongchia.cordova.pingpp/sdk/ios/lib/Channels/Wx/libpingpp+wx.a" not found!
Xcode 7.0编译错误
@TongChia
这样的错误,帮助一下
Undefined symbols for architecture i386: -
"_CATransform3DIdentity", referenced from:
+[UPViews loadingImageViewWithOriginalPoint:] in libUPPayPlugin.a(UPViews.o)
"_CATransform3DMakeRotation", referenced from:
+[UPViews loadingImageViewWithOriginalPoint:] in libUPPayPlugin.a(UPViews.o)
"OBJC_CLASS$_CABasicAnimation", referenced from:
objc-class-ref in libUPPayPlugin.a(UPViews.o)
"OBJC_CLASS$_CAGradientLayer", referenced from:
objc-class-ref in libUPPayPlugin.a(UPUtils.o)
objc-class-ref in libUPPayPlugin.a(UPBaseViewController.o)
objc-class-ref in libUPPayPlugin.a(UPInitViewController.o)
"OBJC_CLASS$_CALayer", referenced from:
objc-class-ref in libUPPayPlugin.a(UPAlertViewEx.o)
"OBJC_CLASS$_PKPayment", referenced from:
objc-class-ref in libpingpp+applepay.a(PingppTestPaymentSummaryViewController.o)
"OBJC_CLASS$_PKPaymentAuthorizationViewController", referenced from:
objc-class-ref in libpingpp+applepay.a(PingppPresentingViewController.o)
"OBJC_CLASS$_PKPaymentRequest", referenced from:
objc-class-ref in libpingpp+applepay.a(PingppPresentingViewController.o)
"OBJC_CLASS$_PKPaymentSummaryItem", referenced from:
objc-class-ref in libpingpp+applepay.a(PingppPresentingViewController.o)
"_PKPaymentNetworkAmex", referenced from:
-[PingppPresentingViewController viewDidAppear:] in libpingpp+applepay.a(PingppPresentingViewController.o)
"_PKPaymentNetworkMasterCard", referenced from:
-[PingppPresentingViewController viewDidAppear:] in libpingpp+applepay.a(PingppPresentingViewController.o)
"_PKPaymentNetworkVisa", referenced from:
-[PingppPresentingViewController viewDidAppear:] in libpingpp+applepay.a(PingppPresentingViewController.o)
ld: symbol(s) not found for architecture i386
现象为调起微信时App黑屏。iOS仍可继续使用。
如需使用,请选择新版本的sdk
hi
TongChia
Is there package for meteor ,when i installed and used cordova-pluging-pingpp in meteor project ,there were some problems,such as api undefined , hope for the package for meteor.
best regard!
tom wang
我的项目存放在一个叫cordova project的文件夹下,这个时候去运行
cordova plugin add https://github.com/TongChia/cordova-plugin-pingpp.git的时候
会报错,错误提示是:
Failed to install me.tongchia.cordova.pingpp
:undefined
Error:Clone android SDK failed!
也就是说当文件夹名字带空格的时候,会安装失败。终于找到这个大坑了
抱歉打扰了。我们需要制作微信登录和微信支付,用cordova打包的时候显示着两个包冲突,请问什么解决方案吗?
Installing "me.tongchia.cordova.pingpp" for ios
Cloning ping++ ios SDK, Please wait...
Cloning into '/Users/jingyuanchen/Documents/SVNs/joinin/03_Develop/32_Phone/test/join/plugins/me.tongchia.cordova.pingpp/sdk/ios'...
Checking out files: 100% (346/346), done.
Using this version of Cordova with older version of cordova-ios is being deprecated. Consider upgrading to [email protected] or newer.
Error during processing of action! Attempting to revert...
Failed to install 'me.tongchia.cordova.pingpp':Error: Uh oh!
"/Users/jingyuanchen/Documents/SVNs/joinin/03_Develop/32_Phone/test/join/plugins/me.tongchia.cordova.pingpp/sdk/ios/lib/Channels/Wx/libpingpp+wx.a" not found!
at Object.module.exports.common.copyFile (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/plugman/platforms/common.js:70:40)
at Object.module.exports.common.copyNewFile (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/plugman/platforms/common.js:101:16)
at installHelper (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/plugman/platforms/ios.js:55:16)
at module.exports.source-file.install (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/plugman/platforms/ios.js:147:13)
at /Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/platforms/PlatformApiPoly.js:660:27
at Object.ActionStack.process (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-common/1.3.0/cordova-common/src/ActionStack.js:56:25)
at PlatformApiPoly.addPlugin (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/platforms/PlatformApiPoly.js:255:20)
at handleInstall (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/plugman/install.js:611:6)
at /Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/cordova-lib/6.2.0/cordova-lib/src/plugman/install.js:407:28
at _fulfilled (/Users/jingyuanchen/.nvm/versions/node/v5.11.1/lib/node_modules/.cordova_npminstall/q/1.0.1/q/q.js:787:54)
Error: Uh oh!
"/Users/jingyuanchen/Documents/SVNs/joinin/03_Develop/32_Phone/test/join/plugins/me.tongchia.cordova.pingpp/sdk/ios/lib/Channels/Wx/libpingpp+wx.a" not found!
defined symbols for architecture armv7:
"OBJC_CLASS$_PKPaymentSummaryItem", referenced from:
objc-class-ref in libpingpp+applepay.a(PingppPresentingViewController.o)
"_PKPaymentNetworkVisa", referenced from:
-[PingppPresentingViewController viewDidAppear:] in libpingpp+applepay.a(PingppPresentingViewController.o)
报错:
1.Plugin should use CordovaInterface.getThreadPool()
2.unable to resolve static method 2819: Lcom/baidu/paysdk/api/BaiduPay;.getInstance ()Lcom/baidu/paysdk/api/BaiduPay;
3.Link of class 'Lcom/pingplusplus/android/b;' failed
plugins/me.tongchia.cordova.pingpp/sdk/ios/lib/Channels/Wx/libpingpp+wx.a" not found!
这是什么情况,怎么解决啊,有没有大神
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.