Comments (3)
Hello @nexus1892 - the plugin is just wrapping the call to canMakePayments()
which is documented here > https://developer.apple.com/documentation/passkit/pkpaymentauthorizationviewcontroller/1616192-canmakepayments
I can't comment on your specific setup since I don't know if you've setup your Apple Pay correctly, the card is valid and its limitations, location and if you've setup your app correctly.
I the top of the CDVApplePay.m
file, there are some hard coded requirments:
- (void)pluginInitialize
{
// Set these to the payment cards accepted.
// They will nearly always be the same.
supportedPaymentNetworks = @[PKPaymentNetworkVisa, PKPaymentNetworkMasterCard, PKPaymentNetworkAmex];
// Set the capabilities that your merchant supports
// Adyen for example, only supports the 3DS one.
merchantCapabilities = PKMerchantCapability3DS;// PKMerchantCapabilityEMV;
}
These are the most common settings and I've never enounctered a user with settings different this but maybe you're the first! Basically requries 3DS merchant with Visa, Amex, or MasterCard.
Check your card meets these requirements and if Apple Pay works in some other apps.
Thanks for stopping by, make another comment if you need more info.
from cordova-plugin-applepay.
Thank you for the reply. Unfortunately the problem persists. I added a second credit card to my wallet and confirmed that both cards are setup for ApplePay(mastercard and visa). I have not changed the hardcoded settings above. The only thing I have done in my code is make a call to ApplePay.canMakePayments with the same code provided in the tutorial. I added this code to the onDeviceReady after Cordova is initialized. Please advise for anything else I can try.
from cordova-plugin-applepay.
This was happening because Apple Pay wasn't enabled under Capabilities in the target settings in Xcode.
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.