I have an http PayPal URL with some parameters that leads to a payment page for some item.
E.g. https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Some+item&amount=2.50 leads to the page for this dummy item with parameters item_name="Some item" and amount="2.50".
All I need to do is open that page in the iOS PayPal app - from my iOS app. Just like you would open a Facebook page in the Facebook app with "fb://page?id=%@"
. I don't need to implement any PayPal functions in my app or get any data back from it, so I don't think I need the PayPal iOS SDK or any other API.
The PayPal app URL scheme is paypal://xxx, but I don't know what goes after it. I've been searching for a whole day now with no results whatsoever. All I know is that[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"paypal://anything"]]
opens the PayPal app, but it just shows the home/previous view. I have no idea how to open any specific page.