How to setup PayPal Payment method in Magento 2

In this post, I will show you how to configure magento PayPal in your magento online shop.

Why do we want PayPal as a payment method on our websites? Since PayPal is the well-known payment services company in the world and using PayPal for purchasing online is the easy way for the customers.

How to setup PayPal Payment method for your Magento store?

There are 3 steps to show you to how to setup PayPal Payment method for your Magento Store:

  1. PayPal Payments Advanced
  2. PayPal payment pro
  3. PayPal payment standard

Step 1: Work on PayPal

  • In PayPal business account you need to follow through this path:

Service setting->hosted checkout pages->setup menu to construct:

  • AVS:No
  • CSC:No
  • Enable Secure : yes
  • Click save to apply your configuration
  • Then, you want to customize the layout ,you can select to customize button on the top of the page then use layout c before you select save and publish button.
  • For security problem, PayPal recommend you to make a new user in this case.

Step 2: Work on Magento 2 Back end

  • You need to follow the path store-> setting->configuration, there will be second panel appear on the left of your screen and then find sale and payment
  • Then, you need to choose which country that your store is located in.
  • Next you need to expand PayPal All- in one payment solution
  • Choose configure button, to set correct PayPal Payment method in your store. There are 3 menu that you are configure are:
  • Need of PayPal setting
  • PayPal payment advanced
  • PayPal express checkout

Need of PayPal Setting

Image result for magento paypal setup

  • You need to fill all the boxes, like Email Associate with PayPal Merchant account, Partner, Vendor, User, Password, Test Mode, and Use Proxy.
  • If you want to check whether everything is running well, you can select Test Mode and yes first and turn it to No when not ready.
  • If you want to connect system to the proxy server, you should set to Proxy at yes. The system will configure an IP address to Proxy host and Port number to Proxy Port.
  • You have to turn Enable by changing the values to Customer will receive the PayPal credit if you enable this function.

Step 2: PayPal Payment Setting

 

Image result for magento paypal setup

  • This is the Basic setting; In Title option you can chose credit or debit option to set the value to your store views.
  • With store option, you can set the order of this payment method when customers go to checkout page.
  • In Payment Action , you can choose 2 options:
  • Authorization mode: In this mode you can able to concur with order and collect money by concurring manually in back end.
  • Sale mode: system will automatically get money from customer account.

Advanced Setting

  • In basic setting section, click to expand the advanced setting section. Then complete the following need to your store.
  • Choose Payment applicable to one of the following:
  • All countries: It accepts Payment from the countries which is already specified in your configuration.
  • Specific countries: It accepts payment from only the countries you specify. In payment Applicable List select each country where you allow payment.
  • Select Debug mode to “Yes” to write communication with payment system into log file.

The log file code is: payments_payflow_advanced.log

  • If you want the customer to be able to correct their entry of the 3digit CCV security code from the back of a credit , set Enable SSL verification to “yes”
  • If you want the customer to be able to correct their entry of the 3digit CCV security code from the back of a credit, set CCV entry is Editable to “Yes”
  • To require that customer enter the CCV code ,set require CCV entry to “yes”
  • To set the confirmation of the payment to the customer, set Send Email confirmation to “Yes”
  • To explain the method is used to exchange the information with the PayPal server during transaction, set the URL method to Cancel URL or Return URL to one of the following:
  • GET: This is the Default method, which is used to retrieve the information
  • POST: IT provides a Block of data, such as data entered in the form or data handling process.
  • The Cancel and Return URLs refers the page whether customer cancel the payment or return after completing of the checkout process on the PayPal server.
  • Complete the following need of your store:
  • Settlement report setting
  • Frontend experience setting
  • When complete click save button

 PayPal Express Checkout

Enlarge the PayPal Express Checkout section. Then do the following:

  • In Title, type the text to identify this payment method in checkout. It is an advice to set the title to “PayPal “for each view store.
  • Type a number in the Sort Order field to explain the series in which express checkout appears when listed with other methods. It appears in rising order based on the sort order value with 0 at the top.
  • Set a payment option by one of the following:
  • Authorization: It approves the purchase, but puts a hold on the cash. The amount is not withdrawn until it is captured by the merchant.
  • Sales: The amount of the purchase is authorized and immediately withdrawn the customer’s account.
  • To display the “check out PayPal” button on the product page, set display on product details page to “yes”.

Advanced Setting

Enlarge the Advance Setting and then do the following:

  • To construct PayPal Express Checkout available for both shopping cart and mini cart, choose display on shopping cart to “Yes”.
  • Set Payment applicable from one of the following:
    • All countries: It accepts Payment from the countries which is already specified in your configuration.
    • Specific countries: It accepts payment from only the countries you specify. In payment Applicable List selects each country where you allow payment.
  • Select Debug mode to “Yes” to write communication with payment system into log file. With

PCI data security standard, credit card information is not recorded in log file.

  • To Enable host authentication verification, choose Enable SSL verification to “Yes”.
  • To display the summary of the customer’s order from the line item from the PayPal site, set Transfer card item to “Yes”.
  • To allow the customer to complete the transaction from the PayPal site without returning to your Magento store for order review, Set Skip order review step to “Yes”.
  • Click save

The above mentioned guidelines label shows you how to configure magento PayPal in your magento online shop.

Last Update: April 9, 2018  

February 5, 2018   157   Nandini R    Payment    
Total 1 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Leave a Reply

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

Facebook
Google+
http://www.webnexs.com/blog/kb/magento-2-paypal-setup
Twitter
LinkedIn