Has anybody had any success in setting up Paypal payments that will run within a Phonegap IOS app?
Our brief is to allow a client to setup payments within the app via the CMS.
My method currently is to populate a standard buy button form which is loaded into the app via json - This is triggered when user makes a booking - they would be sent outside the app to a Paypal page running in Safari - when the payment is completed Paypal will re-direct to a secure server page - which will receive the transaction ID from paypal - de-crypt this (via paypal supplied code) to receive payment info - store relevant transaction data in the DB and then trigger the app to re-open and ideally trigger a function inside the app which will refresh the order based on data received from the CMS.
Sounds very convoluted - but due to the restrictions of opening the paypal form within the app - and the fact that we need to make buy buttons on the fly for a wide range of users - this is the best I can come up with.
Does anyone have any better suggestions / tried and tests solutions!?