paypal module iphone development

You must Login before you can answer or comment on any questions.

Hi all,

I want to develop a module to use the paypal mobile payments iphone library in Titanium applications for the iphone. The method to get the paybal UIButton requires you to reference the UIViewController of your module. It is unclear to me how to access this controller. Any help would be greatly appreciated.

Thanks Filip

** ps : I actually solved this, see my reply further on.

3 Answers

Im sure your app will be rejected if you build something with PayPal in your app.

This will happen due to Apple's new App Store Review Guidelines

11.2
Apps utilizing a system other than the In App Purchase API (IAP)
 to purchase content, functionality, or services in an app will
 be rejected

— answered 3 years ago by Seb S.
answer permalink
2 Comments
  • Actually it has been approved by Apple and I know at least one application that uses it, I'm sure there are a lot more out there. Paypal released at static library especially for Iphone ( & android ). The procedure is however you have to let Paypal approve your application too :D http://thenextweb.com/mobile/2010/04/24/paypal-offer-app-purchases-iphone-android/

    — commented 3 years ago by filip mertens

  • Okay without workarounds this should work (via InApp Purchase) :-)

    — commented 3 years ago by Seb S.

I now used a trick from another post : I've created a UIViewController, added the paypal button etc and called this controller from my TiView with

myUIViewController *myController =[[myUIViewController alloc] init];

[[TiApp app] showModalController:myController animated:TRUE];

All that is left is to implement the delegate methods of the paypal library and deal with the results in javascript.

@flip_mertens

Did you take your chances at writing this? I am trying to add payments to my application and I would love to have the PayPal library to make payments.

Any help will be greatly appreciated.

Thanks, arun

— answered 3 years ago by Arun Sivaraman
answer permalink
2 Comments
  • yes I did, it's not finished though. I'll post the code when it's done and working ;)

    — commented 3 years ago by filip mertens

  • Hey Filip, Did you finish the paypal integration yet? Was it approved by apple? Any help for others trying to create similar integration? Thanks.

    — commented 2 years ago by General Usage

Your Answer

Think you can help? Login to answer this question!