I have tried to use the StripeExample here (https://github.com/stripe/stripe-ios) to test the ApplePay functionality. I have set up Stripe and Parse accounts and followed the instructions on the Github page but cannot seem to get the app to communicate with my Stripe dashboard to display the test payments.
Any tips on how to troubleshoot this issue? Thanks in advance.
Was able to get it to work, silly newbie mistake. Was testing through Xcode simulator instead of through iPhone. Works perfectly when app is run on my iPhone.
Did you modify the stripe example at all?
Did you implement your own test keys in the example?
[Stripe setDefaultPublishableKey:YOUR_KEY_HERE];
Are you specifically only testing apple pay?
From the looks of it you already checked the stripe logs this is the first place I would go to see if there are any logs and if so check for errors. The first step in the process is generating a token, this will show up here. If there are no logs at all then your issue is not with parse, but within the ios app. The generation of a token does not go through parse.
Related
I am trying to integrate Facebook Ads in my iOS App.
I have the SDK installed and I also already receive test-ads. So everything seems to work fine.
BUT...
On the Facebook page inside the Monetization Manager there is a 4 step tutorial on what I need to do.
was Choosing the ad format -> Banner -> Done
Integrating the SDK (I'd say it's done cause I see Test-Ads inside my app) but here's the problem... Cause there is no Checkmark there.
Is the payment info. That's done.
Would be the Review that I'd like to do, but that seems to be deactivated...
So... It also says there, that I need to be logged in to facebook on my phone with an associated Account. I am!
I don't know what else I'd need to do in order for Facebook to recognize that I already successfully displayed a Test-Ad and I just can't find any contact phone number to ask somebody.
Any hints are very much appreciated.
Btw. I already tried yesterday evening (in case the activation process simply takes longer...)
I finally found the Problem after trying every single Setting on the Facebook page...
The problem was that I added my device as Test-Device.
So after removing FBAdSettings.addTestDevice(FBAdSettings.testDeviceHash()) it was working.
Did cost my a lot of time and nerves :) But now everything works as expected!
I've been trying to implement 3D secure payments in my iOS app for a few days now and feel completely lost. Even though the SDK integrates this functionality, there seems to be very few mentions to it in the docs and even less on the forums out here.
I followed what's explained here in the official stripe docs:
https://stripe.com/docs/sources/three-d-secure
https://stripe.com/docs/mobile/ios/sources
and also on this tutorial:
https://www.hitchhq.com/stripe/activities/591b075c9659a6263d0ccd0e
But still couldn't get how to proceed exactly. Small precision, I was until now using tokens to charge my users and it works on production, but I now have to use sources for threedsecure.
Until now I've managed to show the confirmation view (both the test one or the one from my bank on production) and authorize the payment. But then I am always prompted a blank view only containing an ugly blue button saying "Go back to MyApp". I don't understand that, this is ugly and useless, and I guess I'm doing something wrong so that I get this right ? I would expect to be redirected to my app right after the user confirms his credit card.
Then, when the user authorized the credit card, I'm back in my app, and the docs say I have to call startPollingSource on the iOS side which will act as a hook to inform me when the charge is complete. On my server I should also implement a webhook which will get notified when the card is authorized and confirm the charge.
There I am completely confused, why can't I just send the source_id to my server and confirm the charge through this one simple call ? This double-hooks workflow makes no sense to me ..
Here I am, this doesn't work, and I guess I missed something somewhere here.
My advice is to not try to implement stripe from scratch.Even though the integration is not that hard,they miss a lot of things in the documentation.
Better work on this sample project from their repo
https://github.com/stripe/stripe-ios
I've spent a great deal of time creating an Objective-C based application for the iPhone. I incorporated MailCore2 so that emails could be sent without a dialog popping up (Apple's system of in-app email). My app works perfectly on all of my devices, including all outside devices associated with TestFlight beta testing. Unfortunately, the moment Apple reviews the app, they always reject it, saying that MailCore2 made an AlertView with the contents: "Error! Please connect to the internet or try again later.", and the email never properly sends.
My question is, is there an alternative to MailCore2? I've heard of MailGun, but I see no documentation on their site for either Objective-C or Swift.
Thanks in advance to all who reply.
Mailigun is a services and yes you can send mail with Mailgun, but not receive mail like normal email app. Anyway it is completely different from mailcore (Imap/pop). Mailcore is so hard to use...
If you need only send email i can provide you entirely code for achieve this using mailgun.
I am working on integrating the PayPal SDK into an iOS app. I created a sandbox account, got a client id, etc... The didCompletePayment method gets successfully called, and everything appears to look good with the results that I output via the description method on the returned object. However, when I went to the Developer Portal on PayPal to look for a recent Notification of the Sandbox transaction, it wasn't there. My primary question is... why would everything appear to be successful, but it not show up in the Developer portal with a notification of the payment? (On a side-note, I made a similar app for Android, and it does show up there.) Is there something I can do to track down what might be wrong? One detail I noticed in the description data that was outputted to the console, is a response.id being "pay-nonetworkpayidexample123". Would that have anything to do with this?
In addition, I noticed that the when Logging in to PayPal in my app to make the sandbox payment, it accepts ANY password. That seems like a problem. Would that have something to do with this as well?
You are probably using the no-network preconnect. See if you find this call:
[PayPalMobile preconnectWithEnvironment:PayPalEnvironmentNoNetwork];
And change for this:
[PayPalMobile preconnectWithEnvironment:PayPalEnvironmentSandbox];
I'm using Paypal's MPL Framework and all works fine. I have a requirement to change the Paypal application id dynamically (application works with different ids based on user prefs). I'm initializing the Paypal on my main page to follow Paypal documentation.
I was wondering if I can reinitialize paypal if user changed to a different setting?!
I tried calling the [PayPal initializeWithAppID:appKey forEnvironment:e]; more than once but it seems only first key/call is effective. The calls after the Paypal is initialized i simply ignored.
The only option is to ask user to kill the application and run it again which is annoying at the best.
Help is appreciated as usual.