Open bichotll opened 9 years ago
@bichotll my fork https://github.com/arzynik/cordova-plugin-applepay installs the Stripe.framework headers into your project for you. It also removes the debug stuff that was likely giving you errors.
@arzynik Sounds good! I'll take a look! ;)
Thanks
@arzynik I tried your fork referenced above and I crash without error message in: ApplePay.getStripeToken( function(token) { console.log('Your token is: ' + token.id); }, function() { alert_ok('Apple Pay Error', 'We encountered an error interfacing with Apple Pay. Please try again.'); }, wamount, wdescription, wcurrency);
Any idea what the problem maybe? Thanks! hsmith825
Problem solved. I made a mistake in my code. Sorry.
@arzynik great fork! I've had success with it plus your readme guide, however when performing a test payment the success token passes through successfully, but I also get the error handler firing off with "user cancelled apple pay" being passed through. Any ideas?
@arzynik I'm trying to get your fork to work but I get the following error:
No visible @interface for 'CDVPlugin' declares the selector 'initWithWebView:'
on this line:
self = (CDVApplePay*)[super initWithWebView:(UIWebView*)theWebView];
I'm not sure but maybe the error pops up because I'm using WKWebView instead of UIWebView? https://github.com/apache/cordova-plugin-wkwebview-engine
@flavordaaave i am getting the same error as you mentioned above. Did you resolve it? Can you help with the resolution.
Unfortunately,
I did not resolve the problem. I wished to another plugin but that one did not convert the tokens so they could be used by Stripe. I ran out of time.
If you get aa solution, let me know.
Good luck!
Howard
From: vikrambhatia86 [mailto:notifications@github.com] Sent: Saturday, August 20, 2016 9:24 AM To: fan-si/cordova-plugin-applepay cordova-plugin-applepay@noreply.github.com Cc: hsmith825 howard@flickitt.com; Comment comment@noreply.github.com Subject: Re: [fan-si/cordova-plugin-applepay] Stripe.h required when cordova build ios (#1)
@flavordaaave https://github.com/flavordaaave i am getting the same error as you mentioned above. Did you resolve it? Can you help with the resolution.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fan-si/cordova-plugin-applepay/issues/1#issuecomment-241209273 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABVFjADcGpFkElthqU4o9bp6-TjWse4Fks5qhyoxgaJpZM4FnsUg . https://github.com/notifications/beacon/ABVFjOn25sr_NgkTUTUWHWq3wbtkWxglks5qhyoxgaJpZM4FnsUg.gif
Is this resolved.
I tried to install it and build with cordova tool and it didn't work.
I had to install the library manually. Anyway, I then got another conflict with another library. I've not gone forward than that.
Useful plugin anyway.