- 1 Magento 2 Paypal Setup
- 2 How to set up PayPal payment method for your Magento 2 store
- 3 1. Require PayPal setting
- 4 Get troubles with Abandoned Cart?
- 5 2. Basic settings – PayPal payment advanced
- 6 3. Basic Settings – PayPal Express Checkout
- 7 Conclusion:
Magento 2 Paypal Setup
Yep, finally we go to the most interesting part of our Magento 2 tutorial, the tutorial with money and Paypal. 😀 In this post, I will show you how to configure Magento 2 Paypal in your Magento online shop.
Some techniques require you to read in this post, please read Magento PayPal Setup.
*Note: It’s important to keep your Magento 2 version up-to-date, so don’t miss the latest version of Magento 2 Download now.
Why do we need to use PayPal as a payment method on our website? Because PayPal is the most famous and professional online payment service company in the world, and using Paypal for purchasing online is the most convenient way for customers. We spent a lot of time and effort on attracting them to our stores and of course we don’t want to let them go because of they can’t pay for us to get their product right?
How to set up PayPal payment method for your Magento 2 store
Before going to Magento 2 PayPal setup tutorial, you need to have a PayPal business account or a Magento payflow account. There are 3 plans for you to choose :
|1||PayPal Payments Advanced|
|2||PayPal Payments Pro|
|3||PayPal Payments Standard|
You can see below:
|1||Work on Paypal|
|2||Work on Magento 2 back-end|
Step 1: Work on PayPal
- In PayPal business account, you need to go through this path:
- Firstly, In PayPal business account, you need to go through this path: Service Settings > Hosted Checkout Pages > Set Up Menu to configure:
- AVS: No
- CSC: No
- Enable Secure: Yes
- Click Save to apply your configuration.
- Secondly, if you want to customize the layout, you can click to Customize button on the top of the page, then use Layout C before you hit Save and publish button.
- Thirdly, for the security problem, PayPal suggest us to make a new user in this case. So you can follow PayPal tutorial for creating a new user on your current account.
Step 2: Work on Magento 2 back-end
- You need to go to Configuration menu ( Store>> Setting>> Configuration), there will be the second panel appear on the left of your screen, you scroll down your mouse and find Sale and then find Payment method.
- Now you can see that the first thing that you have to configure here is Merchant Country, you need to choose which country that your store is located in.
- Next, you need to expand PayPal All-in-one payment Solution to see this:
- If you want to set PayPal payment is a correct payment method in your store, click to Configure button under your plan. You will see there are 3 small menus that you have to configure are:
+ Require PayPal Setting.
+ PayPal Payments Advanced.
+ PayPal Express Checkout.
All of three kinds of methods above are similar in the configuration process, you can read below:
1. Require PayPal setting
We will start with Require PayPal setting in Magento 2, you can see here in the screenshot of what you will see:
- You need to fill in all of these boxes, like Email Associated with PayPal Merchant account, your Partner name, Vendor Name, User, Password.
- If you want to make sure that everything must run well, you can choose Test Mode at Yes first, and then turn it to No when you are ready.
- About Proxy, if your system connects with PayPal through a proxy server, you should set Use Proxy at Yes. The system will ask you to configure an IP address for Proxy host and port number for Proxy Port.
- You have to turn on Enable This Solution by changing the value to Yes. Customers will receive Paypal credit if you enable this function too.
Get troubles with Abandoned Cart?
Download Abandoned Cart Email Recovery Extension to analyze Abandoned Cart Rate and optimize Automated Recovery Email workflow.
2. Basic settings – PayPal payment advanced
This is the screenshot from Magento 2 back-end, you can see how the Basic settings look:
- You fill in Title box with Debit or Credit to understand Paypal advanced at checkout. With Sort Order option, you can set the order of this payment method when customers go to checkout page.
- With Payment Action, you can choose 2 options: Authorization and Sale. With Authorization mode, you agree with the order and receive money by agreeing manually in the back-end. With Sale mode, the system will automatically get money from clients account.
With Advanced Settings, you can see the detailed screenshot here:
- At the bottom of the Basic Settings section, click to expand the Advanced Settings section. Then, complete the following as needed for your store:
- Set Payment Applicable From to one of the following:
- All Allowed Countries: Accepts payment from the countries already specified in your configuration.
- Specific Countries: Accepts payments from only the countries you specify. Hold the Ctrl key down and in the Payment Applicable From the list, click each country where you accept payment.
- Set Debug Mode to “Yes” to write communications with the payment system into the log file. The log file for PayPal Payments Advanced is: payments_payflow_advanced.log.
- To enable host authenticity verification, set Enable SSL verification to “Yes.”d. If you want the customer to be able to correct their entry of the three-digit CVV security code from the back of a credit
- If you want the customer to be able to correct their entry of the three-digit CVV security code from the back of a credit card, set CVV Entry is Editable to “Yes.”
- To require that customers enter a CVV code, set Require CVV Entry to “Yes.”f. To send a confirmation of the payment to the customer, set Send Email Confirmation to “Yes.”
- To send a confirmation of the payment to the customer, set Send Email Confirmation to “Yes.”g. To determine the method that is used to exchange information with the PayPal server during a transaction, set the URL method for Cancel URL and Return URL to one of the following:
- To determine the method that is used to exchange information with the PayPal server during a transaction, set the URL method for Cancel URL and Return URL to one of the following:
- GET: Retrieves information that is the result of a process. (This is the default method.)
- POST: Provides a block of data, such as data entered into a form, to a data handling process.
- The “Cancel” and “Return” URLs refer to the page where a customer returns after completing or canceling the payment part of the checkout process on the PayPal server.
- Complete the following as needed for your store:
- When everything is complete, click Save to apply.
1. Expand the Basic Settings – PayPal Express Checkout section. Then, do the following:
2. Enter a Title to identify this payment method during checkout. It is recommended to set the title to “PayPal” for each store view.
3. Enter a number in the Sort Order field to determine the sequence in which Express Checkout appears when listed with the other methods. Payment methods appear in ascending order based on the Sort Order value, with 0 at the top.
4. Set Payment Action to one of the following:
- Authorization Approves the purchase, but puts a hold on the funds. The amount is not withdrawn until it is “captured” by the merchant.
- Sale The amount of the purchase is authorized and immediately withdrawn from the customer’s account.
5. To display the “Check out with PayPal” button on the product page, set Display on Product Details Page to “Yes.”
Expand the Advanced Settings section. Then, do the following:
a. To make PayPal Express Checkout available from both the shopping cart and mini cart, set Display on Shopping Cart to “Yes.”
- Set Payment Applicable From to one of the following:
All Allowed Countries
- Accepts payment from the countries already specified in your configuration.
- Specific Countries
- Accepts payments from only the countries you specify. Hold the Ctrl key down and in the Payment Applicable From the list, click each country where you accept payment.
b. Set Debug Mode to “Yes” to write communications with the payment system into the log file.
In accordance with PCI Data Security Standards, credit card information is not recorded in the log file.
c. To enable host authenticity verification, set Enable SSL Verification to “Yes.”
d. To display a full summary of the customer’s order by line item from the PayPal site, set Transfer Cart Line Items to “Yes.”
e. 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 to apply all of your chances.
Done! Above are the ultimate guide that helps you to configure Magento 2 Paypal payment, I hope that you can apply Paypal as the main payment method to grow your store.
Keep updating with our latest Magento 2 Download now.
If you can’t do anything, feel free to comment here.
We also contribute great content of Magento Download for FREE (all versions)
DON'T MISS THE CHANCE!