Checkout for PayPal WordPress Plugin

Checkout for PayPal WordPress plugin connects PayPal to your WordPress website and makes e-commerce available for you. With this PayPal plugin, you can create smart payment buttons with a simple shortcode to accept PayPal payments from your customers.

Checkout for PayPal plugin uses the PayPal Checkout API to create a simplified and secure checkout experience for your customers. With one simple shortcode, you can add a PayPal smart payment button to your website that lets you accept PayPal, Venmo, Pay Later, credit and debit card payments as well as payments via alternative payment methods from any mobile device, tablet, or PC.

checkout for paypal wordpress plugin

Alternative Payment Methods

Alternative payment methods allow customers across the globe to pay with their bank accounts, wallets, and other local payment methods.

  • Bancontact
  • BLIK
  • EPS
  • iDEAL
  • Multibanco
  • MyBank
  • Przelewy24
  • Trustly

Checkout for PayPal Plugin Installation

  • Login to your WordPress admin dashboard
  • Go to Plugins->Add New Plugin
  • Enter Checkout for PayPal naa986 in the search box
  • Once you find the plugin hit the install button

The plugin can also be downloaded from here: https://wordpress.org/plugins/checkout-for-paypal/. For a manual installation go to Plugins > Add New Plugin > Upload Plugin and select the zip file that you downloaded.

How to Configure Checkout for PayPal

Checkout for PayPal uses PayPal REST API to add smart payment buttons to your website. To Generate REST API credentials for the sandbox and live environments:

  1. Log in to the Developer Dashboard with your PayPal account credentials.
  2. On My Apps & Credentials, use the toggle to switch between live and sandbox testing apps (If you are creating a Sandbox app, you will also need to select a test business account that will act as the API caller).
  3. Navigate to the REST API apps section and click Create App.
  4. Type a name for your app and click Create App. The app details page opens and displays your credentials.
  5. Copy and save the client ID and secret for your app.
  6. Review your app details and save your app.

Log in to your WordPress admin dashboard and navigate to Checkout for PayPal > Settings.

general settings of the checkout for PayPal WordPress plugin
  1. Enter the Client ID for your REST API app.
  2. Enter the Secret Key for your REST API app.
  3. Enter the default Currency Code.
  4. Enter a return page URL to which the customer will be redirected after a payment.
  5. Enter a cancel page URL to which the customer will be redirected when a payment is cancelled.
  6. Enter a checkout page URL where checkout options will appear (The page must contain the [coforpaypal_checkout] shortcode in it).
  7. Click Save Changes.

General Settings

There are some optional settings in the General tab that you can configure to customize the Checkout experience.

Locale

The locale used to localize PayPal Checkout components. For example, fr_FR. The default is empty where PayPal detects the correct locale for the buyer based on their geolocation and browser preferences.

If you wish to customize this parameter you can find the full list here.

Load Scripts Globally

By default, checkout scripts are loaded only when a shortcode is present on a page. Enabling this option will load the scripts on every page.

Enabled Funding Sources

Funding sources that should be displayed as buttons at checkout (comma-separated format). Example:

  • venmo
  • venmo,credit
  • venmo,credit,paylater

It is not necessary to manually specify a funding source as the eligibility is determined by PayPal automatically. However, this field can be used to ensure a funding source is always rendered, if eligible. You can find the full list of funding sources here.

Disabled Funding Sources

Funding sources that should not be displayed as buttons at checkout (comma-separated format). Example:

  • card
  • card,credit
  • card,credit,paylater

You can find the full list of funding sources here.

Buyer Country

The country to determine which funding sources are eligible for a given buyer. For example, US. This test-mode-only feature lets you test checkout as a buyer from a particular country.

Email Settings

In the email settings area, you can choose to configure some email related settings.

Email Sender Options

In this section, you can specify a From Name and From Email Address that will be used by the Checkout for PayPal plugin when sending an email. You can leave them empty to use the default.

email sender options in the checkout for paypal plugin

Purchase Receipt Email

Checkout for PayPal plugin allows you to send a purchase receipt email to the customer after completion of a successful purchase. By default, this feature is disabled. In order to use this feature, you need to enable it in the settings.

purchase receipt email related options in the checkout for paypal plugin

You can customize the following options in the purchase receipt email,

  • Purchase Receipt Email Subject: The subject line for the purchase receipt email.
  • Purchase Receipt Email Type: The content type of the purchase receipt email (Plain Text/HTML).
  • Purchase Receipt Email Body: The main content of the purchase receipt email. You can use various tags in the email body to dynamically change its content when it is sent.

Sale Notification Email

Checkout for PayPal plugin can send a sale notification email to your chosen recipient after completion of a successful purchase. By default, this feature is disabled. In order to use this feature, you need to enable it in the settings.

sale notification email related options in the checkout for paypal plugin

You can customize the following options in the sale notification email,

  • Sale Notification Email Recipient: The email address that should receive a notification anytime a sale is made.
  • Sale Notification Email Subject: The subject line for the sale notification email.
  • Sale Notification Email Type: The content type of the sale notification email (Plain Text/HTML).
  • Sale Notification Email Body: The main content of the sale notification email. You can use various tags in the email body to dynamically change its content when it is sent.

Email Tags

The following email tags can be used in the email body to dynamically change its content when an email is sent,

{given_name} – The customer’s given name.

{surname} – The customer’s surname.

{txn_id} – The unique transaction ID for this purchase.

{description} – The purchase description.

{currency_code} – The currency code used to make the payment.

{amount} – The total order amount.

{item_total} – The total item amount.

{payer_email} – The customer’s email address.

{shipping_name} – The customer’s shipping name.

{shipping_address} – The customer’s shipping address.

{shipping} – The shipping fee.

{phone_number} – The customer’s phone number (available only when the “Contact Telephone Number” option is enabled in your PayPal merchant account under “Account Settings > Website payments > Website preferences”). PayPal only supports national numbers at the moment.

How to Create Buy Now Button

1. Navigate to Checkout for PayPal > Products and create a product.

2. Add the following shortcode to a page.

[coforpaypal_product id="1"]

Note: The shortcode needs to be inserted into a shortcode block of the default WordPress post/page editor. Replace 1 with the actual product ID.

Publish/update the page and you will see the button on the front end.

buy now button created using Checkout for PayPal plugin

Clicking this button will take you to the checkout page where payment options will appear.

PayPal smart payment buttons created using the Checkout for PayPal WordPress plugin

Note: Checkout page must contain the [coforpaypal_checkout] shortcode for payment options to appear.

Manage PayPal Orders

When you receive a new order through PayPal checkout it will appear in the Orders menu. You can then ship the goods to finalize it.

checkout for PayPal orders menu

Checkout for PayPal Add-ons

Checkout for PayPal plugin comes with an add-on that you can use to enhance its functionality on your website.

Variable Price

Variable Price add-on lets buyers set the amount they will pay. It can also be used for accepting donation payments.

Contact Form 7 Integration

Contact Form 7 Integration add-on lets you accept PayPal payments with the Contact Form 7 plugin.

Order Export

Order Export add-on lets you export order data to a CSV file.

Get All Checkout for PayPal Add-ons

Checkout for PayPal Add-on Bundle
Checkout for PayPal Add-on Bundle
Access to all Checkout for PayPal plugin add-ons.

* Variable Price
* Contact Form 7 Integration
* Order Export


License: Unlimited Websites

Note:
* Do not purchase before setting up the core plugin first. The add-on is not at fault if the core plugin does not work on your website.
* Do not purchase if you are not sure about a feature, contact us instead.
* Do not purchase to ask for more features or make the product work in a certain way.

Price: $79.99

84 thoughts on “Checkout for PayPal WordPress Plugin”

  1. Hi there!
    My PayPal checkout buttons are showing but not working when pressed or clicked on. How can I fix it?
    Thanks!

    Reply
    • @RJ, Please provide a link to the page in question.

      Reply
  2. Hi there,

    I am testing the plugin with only a sandbox client id/secret key. The live client id/secret key fields are empty and the “test mode” check box is checked. In this configuration the PayPal button does not display.

    Looking at the code I believe this is because the load_scripts function (in main.php) does not consider whether the plugin is used in test mode when setting the client-id argument.

    Not sure if this is by design or not, I thought I would mention it.

    Cheers,

    Osvaldo

    Reply
    • @Osvaldo, The plugin only checks for the live client id. If you don’t plan to use it in live mode you can fill in those fields with your sandbox credentials instead.

      Reply
      • Hello noorsplugin,

        I need help with the plugin is that possible i already install everything but ideal not working can help?

        Reply
        • @Faysal, Can you please describe the issue?

          Reply
      • Why do you have sandbox credential fields in the settings if these are never used? I have the same issue. Nothing displays…

        Reply
        • @Jeff, They are used when the “Test mode” option is enabled.

          Reply
  3. I use the following code:

    $return_page = home_url() . ‘/landing/?param1=value1&param2=value2’;
    echo do_shortcode( “[checkout_for_paypal” .
    ” item_description=’$item'” .
    ” amount=$amount” .
    ” return_url=’$return_page'” .
    ” cancel_url=’$cancel_page'” .
    ” no_shipping=1 layout=vertical]”
    );
    And after payment the control is returned to:
    /landing/?param1=value1#038;param2=value2

    i.e. the ‘&’ character is changed to its html entity number and obviously this does not work as intended.

    Any idea what’s going on?

    Thanks,

    Osvaldo

    Reply
    • @Osvaldo, We have released an update for it. Let us know if it fixes the issue.

      Reply
      • if there are two or more parameters then only the first stays as an & the second ‘&’ character is changed to its html entity number.

        eg

        /landing/?param1=value1&param2=value2#038param3=param3

        Reply
        • @Paul, Can you please describe your setup?

          Reply
          • I have more than two parameters if you change line 901 from

            $return_output .= “let return_url = temp_return_url.replace(‘&’, ‘&’);”;

            to

            $return_output .= “let return_url = temp_return_url.replace(/&/g, ‘&’);”;

            it will replace all instead of just the first & in the URL

          • @Paul, Thanks for reporting this. We have updated the plugin.

  4. It works! Thanks for the prompt fix,

    Osvaldo

    Reply
  5. Is it possible to have buttons for apple pay and google pay via Paypal,

    Reply
    • @Paul, It’s not possible at the moment.

      Reply
  6. Hi there,
    I have purchased the variable price extension a while back. Now it stopped working.

    Checkout for Paypal: Version 1.0.47
    Checkout for PayPal Variable Price: Version 1.0.4

    Reply
    • @Stefan, Please use the contact form on our site to get in touch.

      Reply

Leave a Comment