How do you create a new order in paypal here from an iOS homescreen webapp? - ios

I am aware that PayPal Here can be accessed via an iOS URL scheme similar to: "paypalhere://takePayment?arguments".
I don't know what this URL scheme is but people have already been able to do what I am trying to do, a sample can be read here: https://github.com/paypal/PayPalHere-Sample/blob/master/PPHSample/PPHSample/PPHSampleViewController.m at line 171.
I just want to open paypal here and at the very least pass the total and receive a pass/fail callback. Now if you know how to create an entire order (product name,price,quantity), that would be even better!
Please help me out! I haven't been able to figure it out from reading this ViewController and it looks like it's the only thing that hints at how to get it done. Thanks in advance!

Check this comment:
https://github.com/paypal/PayPal-iOS-SDK/issues/1#issuecomment-14680084
It has 2 documents that may be of use to you.

Related

Old app headers into newer app version? [Jailbreak Tweak]

Sorry, for the confusing title. I am developing an iOS Tweak (for jailbreaks)
What I am trying to accomplish is something I haven't seen people do before but I am sure it is possible!
as an example lets say I am trying to change my username.
in app version 1.0 in the User.h there is a method called
- (void)setChangeUsername:(id)arg1;
which allows the change of usernames within the app, now on app version 1.2
the method is rendered useless / isnt there.
how could I reactivate this method so it allows the change of usernames?
would I have to edit the app binary, or import some old headers, not even sure what the first step of this process is, or if its even possible.
Sorry for the vague example but I hope it is enough information to get what I need answered!
If you would like more information I would be happy to write some more and be more detailed :)
Thank you!
You can't call or hook a function that no longer exists. If you want to change the username you will have to find an alternative method to do so.

Method of integrating a certain persons Twitter account into iOS App

In my app so far, I have to implement all the Twitter posts from a certain individual into a table view, and it automatically updates when the person tweets a certain post. Is it possible to mention a certain individual e.g. #John.. If it is possible, how can I do it? If not just let me know and I will delete this question as it could be too ambitious. Thanks!
I don't quite understand what you mean. I do a little!
There is a quick and easy way of doing this! One easy way is to use Twitters own SDK called Fabric. See Here
See this link for the timeline stuff and integration to your app Documentation
This should help you out!
P.S. Let me know how you get on!

Google Analytics Custom URL Reorting

I have used custom url builder to build custom url and submitted to different directories.
URL is
?utm_source=directory&utm_medium=referral&utm_campaign=DirectoryReferrals
Now i am stuck with reporting coz it shows source as "directory" thats what i need it to show but full referral part is showing as not set.
How can i get full url of the referral source? Need help as soon as possible.
Is there any way to get the url of the referral?
I think you may be misunderstanding the usage of the utm_source parameter in the context of custom campaigns. It wouldn't be used to get the source URL that you used when tagging your campaign, but rather it should show the source where the campaign is originating from, for example advertiser, site (eg. "google"), publication (eg. "newsletter", "billboard"). More information on campaigns can be found here: https://support.google.com/analytics/answer/1033863. Also some good info on why you are getting "not set": https://support.google.com/analytics/answer/2820717?hl=en.
If you are trying to see where traffic is coming from, eg. www.google.com, www.facebook.com, then you wouldn't use custom campaigns for that.
Hope this helps.
I agree with Nyuen, you might have misunderstood the concept of UTM tracking code.
I would suggest that if you want to know that from which referral source you got the traffic then you can write it under UTM_SOURCE.
Suppose if you have promoted your post in the Facebook and Google, then in the UTM_SOURCE you can write Facebook there.
Example:
http://www.grazitti.com/resources/webinars/5-must-have-features-for-your-service-cloud-implementation.html?utm_source=Twitter&utm_medium=Webinar_Tweet&utm_term=Service_Cloud&utm_campaign=Social
Hope this Works :)
You always able to find your refferal traffic under > Acquisition > referral even you tagged link with utm.
If it's not help, please upload some screenshot.

Any twitter api or complete solutions for monodroid?

Looking for good solution for Twitter login and posting something... but there is no idea for now. How to do it in xamarine( IOS mono has complete solution, but monodroid...) help me please, if somebody knows how to do it.
If you just want to post something then you can easily do this by sending an Intent for use by an external app - e.g. see https://github.com/slodge/MvvmCross/blob/v3/Plugins/Cirrious/Share/Cirrious.MvvmCross.Plugins.Share.Droid/MvxShareTask.cs#L19
If you need a more complete solution then libraries like Tweetsharp have had MonoDroid ports/branches at various times, but I don't know the current status of any of these.
You might also want to take a look at Xamarin.Social. This component will let you tweet from your Xamarin.Android application.

URL Schemes and Facebook App 5.0

There's a question already related to groups, but it seems it's much more than that. Have URL schemes been completely thrown out of the new app (aside from the generic fb://), or is there a new list of supported schemes?
In particular, we can't get to a place details page. I've also tried /pages, /page, /places, /place...
Thanks,
Ivan
I'm not sure about those urls... but I just posted what I believe is a solution for facebook business pages.. it may help? Here it is below:
OK .. seriously this took me about 90 minutes of research to figure out. It works currently under facebook ios 5.0.1 for iPhone.. haven't tried it in iPad yet.
The url is fb://profile/132753734806
NOW the important part is that number. That links to one of my clients, Charles Scott. HOWEVER, that's not their FBID or Page ID.. their Page ID is 10150348920319807
so you would think it should be fb://profile/10150348920319807 but that gives me an error.
Here's how you get the correct code.. click on any of your page's photos.. here's an example for my client https://www.facebook.com/photo.php?fbid=10150348920319807&set=a.10150348920314807.356942.132753734806&type=1&theater
if you notice the FBID that does not work follows fbid= in that URL.. the number you WANT is just before the &type=1theater but following that last period. 132753734806 is the correct code to punch in after fb://profile/
I hope that makes some sense... I know zero about code or coding but this was bothering me so much and I knew there was a way.
Now, the two questions I would love to have answered/working.. 1. if this could work on android phones 2. create a working qr code for this url so people can scan with ios devices and have it open automatically
Good luck and I hope this helps everyone!
I tried Alessandro's way but did not succeed - the number he mentioned is new every time.
I tried fb://profile?id={pageId} and it worked in my case. {pageId} is simple page id number without any tricks. Facebook app version is 5.0.1

Resources