Comments (4)
Thanks for stopping by @Graham-C.
On the readme this error is described.
If in your catch you get the message This device can make payments but has no supported cards - you can decide if you want to handle this by showing the 'Setup Apple Pay' buttons instead of the normal 'Pay with Apple Bay' buttons as per the Apple Guidelines.
It means that Apple Pay doesn't find a supported card as described in their docs:
If canMakePayments returns YES but canMakePaymentsUsingNetworks: returns NO, the device supports Apple Pay, but the user has not added a card for any of the requested networks. You can, optionally, display a payment setup button, prompting the user to set up his or her card. As soon as the user taps this button, initiate the process of setting up a new card (for example, by calling the openPaymentSetup method).
The supported payment methods can be defined in code: see https://github.com/samkelleher/cordova-plugin-applepay/blob/master/src/ios/CDVApplePay.m#L14
I would try make the sandbox accounts again, can you see them for example in another Apple Pay apps?
from cordova-plugin-applepay.
Hi @samkelleher, thanks for your quick reply.
When navigating to https://stripe.com/docs/apple-pay/web on the device the Apple Pay button near the top of the page becomes enabled and tapping this brings up the payment sheet with the 2 test cards I have in my wallet available.
Does the plugin work for yourself when you have only test cards in the wallet?
from cordova-plugin-applepay.
Fixed this now by registering a merchant ID via apple developer and stripe and then including this ID in Apple pay capabilities for my app via Xcode (https://stripe.com/docs/apple-pay/apps). Don't think this is mentioned in the readme which might be worth updating. Thanks
from cordova-plugin-applepay.
Hi Graham,
Okay so I followed the stripe guide now I am stuck as I am developing in cordova for this which is HTML and CSS etc so how do I use that in xcode?
James
from cordova-plugin-applepay.
Related Issues (20)
- Does not work with iOS 12 HOT 4
- Payment Response not returning stripetoken HOT 1
- What will be the method for setup Apple pay?
- Can't access methods
- Apple pay with stripe in ionic 3 HOT 6
- How to contribute to this repo? HOT 1
- How to process Base64 token on ApplePay.makePaymentRequest(order) ? HOT 4
- Getting error [General] Connection to remote alert view service failed
- Subscription payment HOT 1
- Trying to add PKPaymentSummaryItemTypePending support, got "PKPaymentAuthorizationViewController was nil" HOT 1
- How to charge stripe with paymentData HOT 7
- Compatibility with iOS 13 ?
- Trying to handle a timeout error before calling completeLastTransaction
- Apple store declined app: PAY END_MERCHANT_NAME
- Not working since ios 13.3 HOT 12
- Is it possible to use this plugin for subscription payments?
- Hi how I connect with stripe for applepay? HOT 2
- Payment Not Completed HOT 1
- How is this application used with payment processors like Stripe? HOT 3
- Ionic Capacitor2 Vue.js Apple Pay Question
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 cordova-plugin-applepay.