Easily Add Secure Payments to Your Mobile App

Posted: April 27th, 2015Author:

The ability to quickly add payments to a mobile app is frequently requested by users. Today, we’re happy to announce an update to our existing PayPal plug-in that lets you quickly and conveniently add secure payments into an app.

PayPal logo

The first thing that comes to mind when thinking about payments in a mobile app is probably an online shop. You can build one really easily with the help of this plug-in.

A few notes about the security implemented in this app:

  • Authentication with PayPal occurs via a Server Code script. It takes your PayPal app credentials and sends XHR to PayPal. The token is stored to the database.
  • By using the Secure Proxy feature, the actual token value will be substituted on the server side. This way any PayPal API can be triggered.
  • Because of the server-based authentication, sensitive data such as the client secret or token value will never be shown in the app, which eliminates the possibility of theft.

A few general notes:

  • The flow implemented in this plug-in is similar to PayPal’s flow.
  • We have a PayPal API plug-in tutorial here. Check it out to configure the plug-in.
  • The plug-in is configured for a test environment, so use the PayPal guide too see what you need to do when going live.