Show / Hide Table of Contents
    • Updated: 3/4/2022
      • Mariann
      • Dmitriy Kulagin

    PayPal Smart Payment Buttons

    Important

    This plugin is currently deprecated and, starting from version 4.40.4, has been replaced by the PayPal Commerce plugin.

    PayPal Checkout with Smart Payment Buttons gives your buyers a simplified and secure checkout experience. PayPal intelligently presents the most relevant payment types to your shoppers automatically, making it easier for them to complete their purchases using such methods as Pay with Venmo, PayPal Credit, credit card payments, iDEAL, Bancontact, Sofort, and other payment types.

    Video tutorial

    Watch this video tutorial to learn how to configure PayPal Smart Payment Buttons.

    Configure the payment method

    To configure the PayPal Smart Payment Buttons plugin, go to Configuration → Payment methods. Then find the PayPal Smart Payment Buttons payment method in the payment method list:

    List

    Follow these steps to configure PayPal Smart Payment Buttons:

    1. Activate the payment method

    To do this, click the Edit button in the plugin row on the payment method list page. Activate the plugin by selecting the Is active checkbox. Click the Update button. Your changes will be saved.

    2. Create a PayPal account

    If you already have a PayPal account, just proceed to the next section.

    Register a Business account on PayPal. Then fill in the information about yourself and your business:

    Step 1

    Note

    If you already have an account, you will be redirected to the authorization.

    Step 2

    Step 3

    Step 4

    Step 5

    3. Set up the PayPal Developer Dashboard

    1. Log into the Developer Dashboard with your PayPal account credentials.

    2. In My Apps & Credentials, use the toggle to switch between live and sandbox testing apps. My Apps & Credentials

    3. Navigate to the REST API apps section and click Create App. Create App

    4. Type a name for your app and click Create App. The app details page will open and display your credentials.

    5. Copy and save the Client ID and Secret for your app.

    6. Review your app details and save your app if you made any changes.

    4. Configure the payment method in nopCommerce

    1. Find the PayPal Smart Payment Buttons payment method on the Configuration → Payment methods page and click Configure. The Configure - PayPal Smart Payment Buttons page will be displayed as follows: Configure

    2. Define the following settings on the Configure - PayPal Smart Payment Buttons page:

      • Use sandbox if you want to test the payment method first.
      • Enter the Client ID you saved in the previous steps.
      • Enter the Secret you saved in the previous steps.
      • Choose the Payment type to either capture payment immediately or authorize payment for an order after order creation.
    3. Then proceed to the PayPal Prominently panel: Create App

      On this panel, define the display settings:

      • Select the Display buttons on shopping cart checkbox to display PayPal buttons on the shopping cart page instead of the default checkout button.

      • Select the Display buttons on product details to display PayPal buttons on product details pages; clicking on them matches the behavior of the default 'Add to cart' button.

      • Select the Display logo in header links checkbox to display a PayPal logo in the header links. These logos and banners are a great way to let your buyers know that you choose PayPal to securely process their payments.

        • If the previous checkbox is selected, the Logo source code field is displayed. In this field, enter the source code of the logo. Find more logos and banners on PayPal Logo Center. You can also modify the code to fit correctly into your theme and site style.
      • Select the Display logo in footer checkbox to display a PayPal logo in the footer. These logos and banners are a great way to let your buyers know that you choose PayPal to securely process their payments.

        • If the previous checkbox is selected, the Logo source code field is displayed. In this field, enter the source code of the logo. Find more logos and banners on PayPal Logo Center. You can also modify the code to fit correctly into your theme and site style.

    Click Save to save the plugin settings.

    Limit to stores and customer roles

    You can limit any payment method to store and customer role. This means that the method will be available to certain stores or customer roles only. You can do this from the plugin list page.

    1. Go to Configuration → Local plugins. Find the plugin you want to limit. In our case, it's PayPal Smart Payment Buttons. To find it faster, use the Search panel at the top of the page and search by Plugin name or Group using the Payment methods option.

      Plugins

    2. Click the Edit button, and the Edit plugin details window will be displayed as follows:

      Edit

    3. You can set up the following limits:

      • In the Limited to customer roles field, choose one or several customer roles, that is, administrators, vendors, guests, who will be able to use this plugin. If you don't need this option just leave this field empty.

        Important

        In order to use this functionality, you have to disable the following setting: Catalog settings → Ignore ACL rules (sitewide). Read more about the access control list here.

      • Use the Limited to stores option to limit this plugin to a certain store. If you have multiple stores, choose one or several from the list. If you don't use this option, just leave this field empty.

        Important

        In order to use this functionality, you have to disable the following setting: Catalog settings → Ignore "limit per store" rules (sitewide). Read more about multi-store functionality here.

      Click Save.

    • Improve this Doc
    Back to top Generated by DocFX