Blog - Latest News

A handy guide on integrating PayPal Checkout with Magento e-store

Your presence on this tutorial itself reflects that you’re an avid Magento fan. Well, if you’re looking forward to switch to a better checkout utility for your Magento powered e-commerce website, then PayPal can turn to be a good choice. This is what I’m going to look into in this tutorial. Read on to find how you can configure PayPal Express Checkout for your Magento e-store.


Why choose PayPal for your Magento store?

Here is a list of few solid reasons backing the significance of using PayPal as the payment gateway for your Magento e-commerce site:

1. Zero set up fees

Unlike a wide range of payment gateway service providers, PayPal doesn’t charge you any fee for adding its service to your website. That means, you are not required to pay any additional fee for customizing your site code for integrating payment transactions etc.

2. PayPal is secure

Making online payments via PayPal is a more straightforward and secure process. All you need to do is simply provide PayPal your name, country, address, contact number and email address with acceptance of the PayPal user agreement. Moreover, encrypting the data sent to and from your web-based store isn’t an issue with PayPal. You just need to click on “Yes” to the PayPal encryption button and you’re done.

Now, coming to the steps involved with configuring PayPal Express Checkout for Magento e-store

Step 1- Configure PayPal account for your Magento site

You’ll be required to have a PayPal merchant account prior to integrating PayPal with your e-store. Once you’re done with creating a PayPal account, simply go to PayPal official website and login using your username and password. Next, go to Service Settings and browse through Hosted Checkout Page, followed by clicking on “Set Up”. Here, make the following changes:

1. Set AVS to “NO”

2. Set CSC to “NO”

3. Set value for “Enable Secure Token” to “Yes”

Once you’re done with making the above alterations, click on “Save” button.

Step 2- Go to e-store’s admin panel for tweaking some settings

Just go to admin dashboard-> System-> Configuration. Here, select the option “Payment Methods” and under the Merchant Location, select your country. Next, expand the PayPal Express Checkout label and finally click on “Configure” button. Have a look at the screen-shot below:

Step 2- Go to e-store's admin panel for tweaking some settings

Here is a screen-shot displaying PayPal Settings that you need to fill up:

The PayPal settings you need to fill up include:

screen-shot displaying PayPal Settings

Email Address- Use this textbox to enter the email address exactly similar to the one entered during the creation of PayPal merchant account.

API Authentication Methods- Use this dropdown to select the API Certificate applicable for your Magento e-store.

API Username- Use this textbox to enter the username for the API application method chosen above.

API Password- Use this textbox to enter the password for the chosen API application method.

API Signature- Use this textbox to enter the API Signature applicable for your online store.

Apart from entering credentials for the above mentioned fields, you can choose to click on “Get Credentials from PayPal” button to get the above fields auto-filled with values available for the created PayPal account.

If you’re working in Sandbox, click on “Sandbox credentials” , followed by setting the “API uses Proxy” dropdown to “Yes” and inputting values for Proxy Host and Proxy Port. Finally, set the “Enable this solution” dropdown to “Yes”.

Step 3- Complete the basic settings for PayPal Magento integration

The screen for PayPal Basic settings will be similar to this:

PayPal Magento integration

On the above screen, you need to complete the following fields:

Title- Use this to enter a title for the payment mode(here, PayPalExpress Checkout). This title would be visible to users during the checkout process.

Sort Order- Use this textbox to set the location of PayPal amongst a wide array of other payment gateway options available for the buyers.

Payment Action- Use this dropdown to select the user payment actions for which Express Checkout would be applicable. You can choose from options viz: Authorization, Sale or Order.

Shortcut on Shopping Cart dropdown- Set this dropdown to “Yes” for making the “Checkout with PayPal” button visible on your shopping cart.

Shortcut on Product View dropdown- Set this dropdown to “Yes” for making the “Checkout with PayPal” button visible on Product Details Page.

In addition to above, you’re also supposed to enter values for fields viz: Authorization Honor Period, Offer Valid Period and Number of Child Authorizations. Once you’re done with filling in the Basic Settings form, click on “Advanced Settings” link to reach the PayPal Advanced Settings Page(I’ve covered the same in my next step).

Step 4- Fill out the fields available on Advanced Settings Page

Here is the screen-shot for Advanced Settings available for PayPal:

Advanced Settings Page

Here’s an elaboration of the fields included within the above form:

Payment Application Form- Use this dropdown to select the countries whose customers would be able to view the PayPal Payment Application form.

Debug Mode- Set the value for this dropdown to “Yes” if you want to set the logs for all payments made via PayPal Express Checkout.

Enable SSL Verification- Set the value for this dropdown to “Yes” for enabling SSL Verification for all transactions made via PayPal Express Checkout.

Transfer Cart Line Items- Set the value for this drop-down to “Yes” if you want to display the complete details of customer’s order.

Transfer Shipping Options- Set the value for this drop-down to “Yes” if you want Magento to transfer the cheapest shipping options under a situation where the count of products available in the checkout exceeds 10.

Shortcut Buttons Flavor- Set the value for this drop-down to “Static” if you want to display a single image for your PayPal Acceptance button. Or else, you can set it to “Dynamic” for being able to change this image using the PayPal server.

Enable PayPal Guest Checkout- Set the value for this drop-down to “Yes” if you want to offer the buyer an ability to  purchase without having an active PayPal account

Require Customer’s Billing Address- Set the value for this drop-down to “Yes” if you want PayPal to use the customer’s billing address for allowing him/her to make a payment. Here, ensure to get this feature activated first for the PayPal merchant account.

Billing Agreement Signup- Use this drop-down to set the creation of billing agreement in case of zero active billing agreements. Select “Never” if you don’t want the billing agreement to be created. Select “Ask Customer” if you want PayPal to ask the customer about the generation of Billing agreement. You may also select “Auto” for enabling auto-generation of the Billing Agreement each time a customer intends to make a payment via PayPal Express Checkout.

In addition to above, you can expand the labels viz: PayPal Billing Agreement Settings, Settlement Report Settings and Front-end Experience Settings for specifying your desired preferences. Once you’re done with all that, just click on ‘Save Config” button to save all the settings.

So, that’s it!

Wrapping Up

Hopefully the above tutorial would have allowed you to dig deeper into integrating PayPal checkout with your Magento e-commerce site. So, get on with the steps and you’ll definitely be able to render a flawless buying experience to your customers.

Isabella Morris is currently employed with a renowned custom Magento development company and is also engaged in writing informative articles on best tools and tricks for Magento development. Her write-ups have proved beneficial for a wider group of Magento developers across the globe.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Icons made with love by - Enfold Theme by Kriesi