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, Pay Later, credit and debit card payments from any mobile device, tablet, or PC.

PayPal Pay Later

When eligible, your existing PayPal buttons change to show a new Pay Later button. When customers select Pay Later, they can pay with flexible, buy now, pay later financing offers.

PayPal offers short-term, interest-free payments and other special financing options that buyers can use to buy now and pay later, while merchants still get paid up-front. Because pay later offers are included with PayPal Checkout, you won’t pay additional costs.

Pay later offers include the following:

  • Pay in 4, which buyers can use to pay for purchases in four, interest-free installments.
  • PayPal Credit, a revolving line of credit that buyers can use to pay over time.

Checkout for PayPal Info

Plugin Name: Checkout for PayPal
Version: 1.0.5
File Format: application/zip
Requires: WordPress 5.8
Rating: 5.0 based on 1 vote
See All Ratings/Submit Your Rating Here
Price: 0 USD

Features

  • Accept PayPal, Pay Later (Pay in 4 and PayPal Credit) payments
  • No monthly fee
  • Accept credit card and debit card payments
  • Simplified and secure mobile checkout experience
  • Accept one-time payments
  • Simplified PCI compliance
  • Checkout with a click of a button
  • Accept payments in multiple countries and currencies

Checkout for PayPal Plugin Installation

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

Option 2

  • Download the zip version of the plugin
  • Go to Plugins->Add New and switch to the Upload tab
  • Select the zip file on your computer
  • Upload and install it

Option 3

  • Download the zip file and extract it
  • Connect to your website via FTP (you can use a software like Filezilla to transfer files to your server) and browse to the “/wp-content/plugins” folder
  • Select the folder containing the plugin files on your computer and upload it
  • Once all the files have been uploaded to your web server you can activate the plugin from the Plugins menu (WordPress admin dashboard)

How Does Checkout for PayPal Work?

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 default Currency Code.
  3. Enter a return page URL to which the customer will be redirected after a payment.
  4. Click Save Changes.

In order to create a smart payment button, you just need to insert a shortcode and a price in the button parameter. The shortcode needs to be inserted into a shortcode block of the default WordPress post/page editor.

[checkout_for_paypal amount="3.99"]

If you want to use the shortcode in a custom field, the field name must be checkout-for-paypal-custom-field and the field type must be WordPress editor.

PayPal Smart Payment Button Demo

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

PayPal Button Customizations

Item Description

The “item_description” parameter can be added to the shortcode to pass a description of your item to PayPal. For example:

[checkout_for_paypal item_description="My item description" amount="3.99"]

Return URL

The “return_url” parameter can be added to the shortcode to redirect the customer to a specific page on your site after the payment. For example:

[checkout_for_paypal item_description="My item description" amount="3.99" return_url="https://example.com/thank-you/"]

No Shipping

If you do not want to prompt buyers for a shipping address you can use the “no_shipping” parameter in the shortcode. For example:

[checkout_for_paypal item_description="My item description" amount="3.99" no_shipping="1"]

Button Color

The “color” parameter can be added to the shortcode to change the color of the PayPal button to blue, silver, white or black. The default is gold. For example:

[checkout_for_paypal item_description="My item description" amount="3.99" color="blue"]

Manage PayPal Orders

When you receive a new order it will appear in the Orders menu. You can then do the following to finalize it:

1) Send a purchase confirmation email to the customer (include download links if applicable)

2) Ship the goods

checkout for PayPal orders menu
Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.

34 thoughts on “Checkout for PayPal WordPress Plugin”

  1. Your plugin works great, but I notice that the buttons receive a “max-width:300px” as an inline style by default. Is there are a way to change this?

    Reply
    • @Jonathan, I believe so. What changes are you looking for?

      Reply
      • Hi again, Noor. Forgive me for taking a moment to reply. We’ve had a busy few weeks of moving into a new house.

        Mostly what I’d like is to not have this style included in the div at all. That way I could control the buttons’ appearance myself (width, alignment, etc) by assigning styles to the container div.

        Reply
        • Hey, Did you find the solution to control the button appearance?

          Reply
  2. @ Noor Alam

    Hi, your plugin sounds great. But: i need to sell 10 products with this smart button option.

    do you have andy idea how to realise this with your plugin?

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

      Reply
  3. Is there a way to disable shipping address in the paypal container?

    Reply
    • Disregard. I read on this page that it can. Nice work!

      Reply
  4. Hi,

    I recently received an error form PayPal regarding IPN which i am unable to resolve with this Plugin.. was hoping for some help

    ” failing IPN warning email for your account. The IPN script on the URL is failing with HTTP status 500 (Not found)”

    Reply
    • @Renee, This plugin doesn’t require any IPN from PayPal.

      Reply
  5. Hi there, does this have a woocommerce version

    Reply
    • @Mark, This is not for WooCommerce.

      Reply
  6. Hello! how can i use a shortcode in a custom field? Shortcode doesn’t work unless added to default editor

    Reply
    • found a condition in /plugins/checkout-for-paypal/main.php – the shortcode is processed only in the $ post-> post_content field
      Please make support for custom fields – for better use of your plugin

      Reply
      • @Esal, The plugin doesn’t filter the shortcode, WordPress does. What you looked at is the post order body that contains details of each purchase. It has nothing to do with shortcodes (the shortcode is what renders the button).

        Reply
        • this is line 77 of main.php – function plugin_scripts ()

          scripts were not included because the shortcode in the custom field didn’t meet the conditions

          I added an additional condition:
          has_shortcode (get_post_meta ($ post-> ID, ‘paypal’, true), ‘checkout_for_paypal’)
          and the buttons are displayed on the frontend

          Reply
        • but this condition can be removed when the plugin is updated 🙁

          so I ask you to add to function plugin_scripts () a check for the presence of a shortcode in an custom post field
          Thank you!

          Reply
          • @Esal, If you tell me how to check for it in a custom field I will add it to the plugin. I do not want to include it on every page for no reason (it can conflict with other plugins and affect page load speed).

          • It will be great!

            I suggest using a custom field with a unique name – for example, “checkout-for-paypal-custom-field” and if it has a shortcode – load scripts too.
            And in the instructions for the plugin after the text “The shortcode needs to be inserted into a shortcode block of the default WordPress post / page editor.”
            add: “if you want to use the shortcode in a custom field – the field name must be” checkout-for-paypal-custom-field “and the field type must be” WordPress editor ”

            updated function code in main.php:

                function plugin_scripts () {
                    if (! is_admin ()) {
                        global $ post;
                        if (is_a ($ post, 'WP_Post')
                            && (has_shortcode ($ post-> post_content, 'checkout_for_paypal')
                                 || has_shortcode (get_post_meta ($ post-> ID, 'checkout-for-paypal-custom-field', true), 'checkout_for_paypal')
                                )
                         ) {
                            $ options = checkout_for_paypal_get_option ();
                            $ sdk_js_url = add_query_arg (array (
                                'client-id' => $ options ['app_client_id'],
                                'currency' => $ options ['currency_code'],
                            ), 'https://www.paypal.com/sdk/js');
                            wp_enqueue_script ('jquery');
                            wp_register_script ('checkout-for-paypal', $ sdk_js_url, array ('jquery'), null);
                            wp_enqueue_script ('checkout-for-paypal');
                        }
                    }
                }
            
          • @Esal, Thank you!! I have just released an update for it.

          • Thank you for efficiency!

  7. How to change button color? I want white background instead of gold. I tried to do this using CSS but nothing happened. Please help me!

    Reply
    • @Manish, I have just released an update to support this feature. Please update the plugin and see the instructions for details.

      Reply
      • Thanks for the reply! I have updated the plugin and see the instruction on the same page but I am not able to find any information about button appearance customization pls let me know how to change the button design.

        Reply
        • @Manish, Check the Button Color section.

          Reply
          • Thanks for the reply! I found it. The last thing can you please tell me how to change the button border-radius?

          • @Manish, What do you want to change it to?

  8. I want the button corners should be rounded. Thanks!

    Reply
  9. Hello there, your plug-in has been very helpful. However, is it possible to add a drop down option for a customer to select more than one item? I would deeply appreciate your help. Thank you.

    Reply
    • @Cielo, That’s not possible at the moment.

      Reply
  10. What if it’s a variable amount? Can your plug-in be adjusted for that?

    Reply
    • @William, There is no variable amount at the moment.

      Reply
  11. Can this be used in the Divi theme? I dropped short code into code module but it did not render, only the text of the code appeared. I see above “The shortcode needs to be inserted into a shortcode block of the default WordPress post/page editor” But if I have a WYSIWYG theme installed like Divi, I can’t use plug in?

    Reply
    • @Jack, A shortcode is not the same as a code block in HTML. It’s a WordPress feature that allows a plugin/theme to print specific content. WordPress offers a shortcode block for rendering shortcodes in the block editor. There is no block in the class editor. You can just copy and paste the shortcode into the content area.

      Reply

Leave a Reply to Esal Cancel reply