Comments (12)
@shallsaur it is working for me on 3.6.3-0.2.13. Can you provide a snippet of your code and we can try and see what went wrong.
from paypal-cordova-plugin.
@romk1n Thank you for your reply.
Not sure what I can give you to try. I basically just follow the exact instructions given.
$ cordova create MyShop com.mycompany.myshop "MyShop"
$ cd MyShop
$ cordova plugin add https://github.com/paypal/PayPal-Cordova-Plugin
$ cordova platform add android
For Android, copy the libs folder from step 2 to the libs folder in MyShop/platforms/android. (https://github.com/paypal/PayPal-Android-SDK)
Then i copy paste the same exact code from the following links
index.html: https://gist.github.com/romk1n/fdbe7902dd827c1d76a5
index.js: https://gist.github.com/romk1n/fb83a7eb8c04e26cab9f
$ cordova build
Then import the project into Eclipse and ran it from there.
On LogCat is where I see all the error messages.
from paypal-cordova-plugin.
@shallsaur what happens if you just do cordova run android
and in a separate terminal just run adb logcat
? also you can use chrome to see the console and step through javascript code. https://developer.chrome.com/devtools/docs/remote-debugging
from paypal-cordova-plugin.
I also followed All Steps For Installing Demo and still not working for me. have anyone any example that can provide me, I would appreciate it very much.
from paypal-cordova-plugin.
@totherik can you provide more details on what's not working ? what steps have you taken to debug the problem?
from paypal-cordova-plugin.
Yes . I have done all the installation steps but when I run the application and pressed the buy button just does nothing. :(
from paypal-cordova-plugin.
@tknologyk is that on android or iOS ? Can you use those two files to check ?
index.html: https://gist.github.com/romk1n/fdbe7902dd827c1d76a5
index.js: https://gist.github.com/romk1n/fb83a7eb8c04e26cab9f
from paypal-cordova-plugin.
@romk1n is on android. I do again with that files and still not working. here's the project: https://github.com/tknologyk/MyShop
from paypal-cordova-plugin.
@tknologyk a few problems i can see in your repository
- plugins folder is empty https://github.com/tknologyk/MyShop/tree/master/plugins
- the only file in this directory (https://github.com/tknologyk/MyShop/tree/master/www/js) should be
index.js
since when you runcordova build android
the correct files are put by the tools into the right places. i.e. inplatform/android/assets
. Your one doesn't seem to look right https://github.com/tknologyk/MyShop/tree/master/platforms/android/assets/www/js - you should never copy
cdv-plugin-paypal-mobile-sdk.js
manually.
from paypal-cordova-plugin.
@romk1n it's works!! really thank you very much :D
from paypal-cordova-plugin.
@tknologyk you welcome!
from paypal-cordova-plugin.
Managed to get it to work if it is on a page of its own.
Currently I need to use an iFrame just to show that page with the payment button.
Thanks anyways.
from paypal-cordova-plugin.
Related Issues (20)
- Query: Recurring payment HOT 2
- change card information HOT 3
- After complete payment how to logout paypal account HOT 4
- Plugin Deprecated HOT 4
- The merchant does not accept payments of this type. HOT 2
- App Crash on iOS 11 HOT 3
- Paypal Mass Payment in cordova HOT 2
- plugin-PayPal-cordova 2018 HOT 4
- Set card.io-Cordova-Plugin "noCamera" configuration before renderSinglePaymentUI HOT 1
- App Crash While login in paypal
- generated buttons HOT 1
- Application crashes on pay button - iOS 11.3 HOT 6
- Session Expired (renderSinglePaymentUI) HOT 9
- renderProfileSharingUI Not wokring HOT 1
- INR currency gives error HOT 4
- My Ionic App crashes when i trigger makePayment() method , can anyone help ? HOT 1
- Paypal Checkout Camera HOT 1
- Cordova PayPal integration iOS issue. HOT 1
- the merchant does not accept payment of this type HOT 3
- Credit card payment in Brazil HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal-cordova-plugin.