Get started with mobile Express Checkout
Important: The information in this topic is Discontinued because Express Checkout now supports mobile devices by default. You no longer need to perform any additional integration steps or programming to take advantage of Express Checkout's mobile checkout flow. For more information, see the Express Checkout Integration Guide.
Get up and running with this service:
PayPal's Mobile Express Checkout (MEC) enables you to place a PayPal Checkout button on your mobile website, which enables customers to check out via their PayPal accounts. You can also use MEC to support users without PayPal accounts by creating a secondary checkout button that lets users log in to PayPal as a guest and pay with a credit or debit card.
You can access the PayPal Checkout button on the PayPal buttons, logos, and marks page.
MEC is based on Express Checkout. It gives mobile users a streamlined checkout process. They don't have to enter their banking or shipping information into their mobile devices because this information is contained and shielded in their PayPal accounts. With MEC, customers follow the same checkout flow as they do with Express Checkout.
MEC works on a wide range of mobile devices and optimizes pages for smaller screens and keyboards. MEC also enables customers without PayPal accounts to use their debit or credit cards to check out.
MEC uses the same APIs and transaction flow as Express Checkout. MEC redirects transaction processing from your mobile website to PayPal, where the customer reviews and completes the payment transaction on PayPal servers. PayPal returns the customer to your mobile site once they complete the payment flow.
Because of its close link to Express Checkout, it is best to become familiar with Express Checkout before using MEC. The following resources provide a good foundation for how to use MEC:
Note: For how to get started with the PayPal APIs, use the sandbox for testing, and move your app into production, see Apps 101.
Make your first call
Note: These integration steps are Discontinued. To integrate Express Checkout for mobile devices, see the Express Checkout Integration Guide.
The steps in this section describe how to modify existing Express Checkout code so that you can use it on a mobile website. See the Express Checkout Integration Guide if you do not have existing Express Checkout code.
To modify Express Checkout code to support mobile devices:
If required, modify the
cancelUrlvalues in your
SetExpressCheckoutcall so that they point to the appropriate pages on your mobile site.
The Express Checkout redirect is the same as it is for a normal Express Checkout transaction and should resemble the following (wrapped for readability):
https://www.paypal.com/cgi-bin/webscr? cmd=_express-checkout &token=tokenValueReturnedFromSetExpressCheckoutCall
Ensure that you do not use any Express Checkout functionality that is not supported Mobile Express Checkout. For a full list of the functionality supported by MEC, see Express Checkout on Mobile Devices.
To see this code in action, log in to the sandbox and set up sandbox account that you can then use in your calls.
You need both sender and receiver sandbox accounts.
Learn more about Mobile Express Checkout and other PayPal Mobile solutions from the following resources: