Paythru's Hosted Payment pages may also be used in mobile applications. Here's a guide to find out how.
Paythru's Hosted Payment Pages offer a secure method for merchants to accept payment for goods and services using a variety of payment types. Within e-commerce environments, customers may be directed to the web based payment pages where they complete their payment before being redirected back to the merchant's website, all of which takes place in the customer's web browser. Paythru's Hosted Payment Pages may equally be deployed in mobile application environments. This document illustrates the methods available to mobile application developers to achieve this.
For most mobile platforms, Paythru offer two approaches:
Both methods offer a secure channel between the customer and Paythru to conduct the payment. The payment pages themselves may also be configured to replicate the look and feel of your mobile application providing customers with the impression that they have not been redirected elsewhere.
This document contains the recommended process flows that may be used to incorporate Paythru's Hosted Payment Pages with mobile applications as described above.
Redirecting your customer to the native web browser of the mobile handset ensures that the customer is aware that the transaction is being conducted securely as the web browser will display the padlock icon and HTTPS web address that customers often look for.
The transition between the mobile application and the device's native web browser can be performed seamlessly. After the payment has been conducted, the customer may be redirected directly back to the mobile application without having to relaunch it themselves.
Webviews are objects of the mobile application's user interface that allow local or remote web content to be displayed. They feature on most current mobile application platforms. Loading the payment pages in a webview will mean that the transaction will be conducted without even leaving the app.
Launching Hosted Payment Pages within webviews may also be deployed in one of two methods depending on the approach used to develop the app:
For apps that use web based user interfaces hosted within webviews, the customer may simply be redirected to Hosted Payment Pages inside the existing webview. Apps that have been built using native layouts and user interface elements must launch a new webview activity to load the Hosted Payment Pages in.
The following process flows outline the steps that should be taken by developers wishing to accept payments using Paythru's Hosted Payment Pages in their mobile applications.
Launching Hosted Payment Pages in the handset's native web browser is completed using the following steps:
Redirecting to Hosted Payment Pages from an existing webview activity is completed using the following steps:
Launching Hosted Payment Pages in a new webview activity is completed using the following steps: