554104
5
Zoom out
Zoom in
Previous page
1/10
Next page
The Adyen Mobile Payment Pages
How to Integrate
Integration from your mobile app or mobile site is easy. There are basically two options for creating Mobile
applications at this moment, both require some specific details, but in essence the implementation of the
Adyen MPP is the same. The first option is to build a native application for a specific mobile device / operating
system. This type of application often results in optimised graphics and user interaction. The second type of
application is a rich web application. This type of applications are HTML(5) based applications which provide
the user a similar experience as native applications, but are often easier to implement, maintain and port to
different mobile devices / operating systems.
For the first case, native apps, you will be using a so-called “WebView” Object to load the hosted Adyen MPP
in a browser. This is similar to an iFrame on the internet and can be integrated seamless. An example with
iPhone's WebViewUI Object is provided later.
For the second case you will be redirecting the shopper to the Adyen MPP, just like it is another page of the
rich web application.
The request to load the Adyen MPP internet page is equal to a regular integration using the Hosted Payment
Pages. This is described in the Adyen Integration Manual - please consult our support pages for download
information.
At this moment the MPP is using a multi-page payment flow as shown in the screens above. The URL used is:
https://{test:live].adyen.com/hpp/select.shtml
The following code snippet shows how a GET URL is loaded in a WebViewUI on an Apple device.
NSString *url = [NSString stringWithFormat:@"https://test.adyen.com/hpp/select.shtml?
merchantAccount=%@&etc", 'TestMerchant', etc];
NSURLRequest *req = [NSURLRequest requestWithURL:[NSURL URLWithString:url]];
[webView loadRequest:req];
An alternative to generate a GET url, is to use an intermediary page on your own infrastructure, that accepts a
payment request and can redirect to the appropriate Adyen page. On the iPhone, this can be done as follows:
NSString *url = [NSString stringWithFormat:@"http://pay.example.com/payment/pay?id=%@", id];
NSURLRequest *req = [NSURLRequest requestWithURL:[NSURL URLWithString:url]];
[webView loadRequest:req];
The server-side script, running on pay.example.com, would retrieve the order information from your database
based on the id, and do the full post to Adyen. If you only connect from a mobile site, then you can skip this
intermediate step and directly redirect to Adyen's hosted payment pages.
Copyright © Adyen B.V. 2011 5
5


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adyen Mobile Payment Pages at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adyen Mobile Payment Pages in the language / languages: English as an attachment in your email.

The manual is 0,47 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info