Tips and Tricks WP eCommerce

eCommerce Solution for WordPress Blog

  • Home
  • eCommerce Plugins
  • WP eStore Documentation
  • WP Shopping Cart Doc

PayPal’s Pay in 4 (Buy Now Pay Later) with Simple Shopping Cart Plugin

When you use any of the PayPal checkout options offered in the Simple Shopping Cart Plugin, your customers can checkout using PayPal’s Pay in 4 option. The Pay in 4 is PayPal’s Buy Now, Pay Later Interest-Free Installments Option. As the seller, you will receive the full amount for the product at the time of the purchase, the customer will pay it off to PayPal over time.

Set-Up Requirements for PayPal’s Pay in 4 Feature

PayPal stipulates a number of requirements for companies that wish to accept Pay-in-4 payments for goods and services they sell from their websites. Below are the set-up requirements for PayPal’s Pay in 4 option:

  1. Use any of the PayPal checkout options (PayPal Standard, PayPal Commerce Platform etc).
  2. The product you are selling needs to be between $30.00 and $1500.00 for the ‘Pay in 4’ option to appear on the checkout window.
  3. The customer must reside in an eligible country/state. United States is supported. The countries that PayPal offers the Pay in 4 feature is expanding, and in the future additional customers from around the world will be able to use this option to pay for goods and services. So check with PayPal if your country is supported at this moment.
  4. The customer will need to have a PayPal account.

You can read more about PayPal Pay in 4 eligibility on their website here.

If you have set up the Pay in 4 option in your PayPal account but the customer is not seeing the option during checkout, then this customer may not meet all the criteria to be able to use this payment option.

How Will the Customers Use the Pay in 4?

Once you have the Simple Shopping Cart Plugin activated and you have a product where the price is between $30.00 and $1500.00, those customers who reside in eligible countries should see the option to use ‘Pay in 4’. The option is shown within the checkout popup window. The customer can simply click to ‘Pay in 4’ payments, rather than having to pay the total amount upfront.

How to Customize Smart Checkout Buttons – WP Shopping Cart

Once you have configured the PayPal Smart Button Checkout for the WP Simple Shopping Cart Plugin you can customize the checkout button appearance. The customization tools for the smart button checkout enable you to create a visually appearing payment area for your potential customers. Use the Size, Color, Shape and Layout tools to create a customized checkout button.

Customizing the Look of Your PayPal Smart Button Checkout

Step 1) Ensure you have completed the configuration needed for PayPal Smart Checkout.

Step 2) Click on the Settings menu under Simple Cart.

Step 3) Choose the Advanced Settings tab. You will now see a number of customization tools.

customization-smart-button-settings

Step 4) Choose the Size of your PayPal Smart Checkout button by clicking the drop-down menu. The options are Medium, Large or Responsive (meaning it will change depending on the device it is viewed on).

Step 5) Choose the Color of your Smart Checkout button by clicking on the drop-down menu. The color choices include: Gold, Blue, Silver or Black.

black-smart-button-checkout

Black Smart Button Checkout

blue-smart-button-checkout

Blue Smart Button Checkout

silver-smart-button-checkout

Silver Smart Button Checkout

Step 6) Choose the Shape of your Smart Checkout button. Mark the option next to either Rectangular or Pill.

rectangular-smart-checkout-wp-simple-cart

Rectangular Smart Button Checkout

pill-smart-button-checkout

Pill Smart Button Checkout

Step 7) Choose the Layout of your Smart Checkout button. Mark the option next to either Vertical or Horizontal.

Step 7) Choose if you’d like to allow your customers to use PayPal Credit or ELV to pay for your products or services. Mark the checkbox next to either of the options to allow them on your Smart Checkout.

PayPal Credit: This is a means of payment where the customer pays off their purchase with PayPal over time.

ELV: Standing for Elektronisches Lastschriftverfahren, ELV is a popular payment method in Germany. It allows the customer to pay via their bank account.

Step 8) Ensure you Update Options to save the customization changes you have made.

Customized PayPal Smart Button

Using the customization tools for PayPal Smart Buttons, you can create a checkout that matches the theme of your website.

cart-with-smart-button-checkout

Enabling PayPal Smart Button Checkout – Setup and Configuration

Note: PayPal has deprecated the Smart Checkout feature. Switch to using the PayPal Commerce Platform (new API) which replaces the Smart Checkout option.


The PayPal Smart Checkout is an option you can enable in your WP Simple Cart Plugin. The Smart Checkout Button provides your customers with an alternative checkout method. The PayPal Smart Button Checkout contains a number of buttons that allow your customers to checkout using their PayPal Account, their credit card (Visa, Mastercard), Buy Now Pay Later or PayPal credit.

The checkout form is displayed to the customer in a popup window.

smart-paypal-checkout

Checkout Demo Video

The following video shows how a checkout works with PayPal smart button (from a customers point of view):

Configuring PayPal Smart Checkout Button

Step 1) Ensure you have the latest version of the WP Simple PayPal Shopping Cart Plugin installed and activated on your WordPress site.

Step 2) Click on the Settings menu under Simple Cart.

Step 3) Choose the Advanced Settings tab.

Step 4) You will now see a section titled PayPal Smart Checkout Settings.

Step 5) Mark the checkbox next to Enable PayPal Smart Checkout.

paypal-smart-button-configuration

Step 6) To set up this feature you will now need to Log in to your PayPal Developer Account to locate your API details. You will need a PayPal Business Account.

Step 7) Click on the My Apps & Credentials menu within your PayPal Developer Account.

Step 8) Scroll down to the Rest API Apps section.

Step 9) Click the Create App button.

Step 10) Give your app a name that relates to it’s intended use.

Step 11) Click the Create App button.

Step 12) You will now see your Sandbox Client ID and your Sandbox Secret Key (once you click the ‘show’ button).

Step 13) Click the Live button in the left hand corner to show your Live API Keys.

configuring-paypal-smart-button-wordpress

Step 14) Copy and paste both your Live and Test Client ID’s and your Live and Test Secret Keys from your PayPal account into the settings menu of your WP PayPal Shopping Cart. Ensure you paste them in the correct fields.

Step 15) If you would only like to offer Smart PayPal Checkout, mark the checkbox next to Disable Standard PayPal Checkout. Alternatively, you can choose to offer both at once by leaving this box unmarked.

Step 15) Click the Update Options button. You have now completed the setting configuration for PayPal Smart Checkout.

Step 16) Your Simple PayPal Shopping Cart Products will now be able to be purchased through this PayPal checkout method.

Purchasing a Product via PayPal Smart Checkout

A customer can add an item to your Simple PayPal Shopping Cart. Once the item appears in the cart, the customer can go ahead and checkout using PayPal Smart Checkout. They can click the button that applies to them.

For example, in the following example, the customer clicks the PayPal button because they wish to pay directly from their PayPal account.

Once a customer clicks on one of the PayPal Smart Checkout buttons, a popup appears where they can complete the checkout process by entering in the appropriate details.

paypal-smart-checkout-product
paypal-smart-checkout-popup

Customizing the Smart Checkout Buttons

Read our documentation on smart checkout buttons customization.

PayPal’s Pay In 4 (Buy Now Pay Later Option)

Read our PayPal’s buy now pay later documentation to learn more about it.

Simple Shopping Cart Creating a Specific Checkout Page

The Simple Shopping Cart Plugin has cart shortcodes that you can use anywhere on your site to show the shopping cart (the customers can directly checkout from there). So you don’t really need a specific checkout page.

However, if you want to create a specific/separate checkout page then you can do that too.

A specific checkout page can be useful for the following:

  • Add checkout/payment related messages to give more guidance to your customers
  • Show/offer some upsell products on your checkout page

Creating a Specific Checkout Page for Simple Cart

Step 1) Create a WordPress page called “Checkout” from the pages menu of your site (You can give this page any title you want).

Step 2) Add the simple shopping cart shortcode on this page:

[show_wp_shopping_cart]

or the following:

[always_show_wp_shopping_cart]

Step 3) Go to the simple cart settings menu and specify the URL of this checkout page that you just created in the ” Checkout Page URL” field.

Step 4) Add a link to your checkout page in your navigation menu or the sidebar (so customers can click that link to go to the checkout page).

Optionally, You Can Do the Following Too

The following steps are optional so use them if you think it will be useful for you.

Step 5) Enable the “Automatic redirection to checkout page” option from the settings menu of the plugin. That will auto redirect the customers to the checkout page when they add an item to the cart.

Step 6) Add any special messages or up-sell product offers on your checkout page.

Step 7) Use the compact shopping cart shortcode on your sidebar so customers can view a summary of the items in the cart.

Customize the PayPal Checkout Button Image in the Shopping Cart

The simple shopping cart plugin has a filter that you can use to customize the PayPal checkout button image of the cart and use your own custom image for the button.

Code Example

The following code example shows how you can use your own custom PayPal checkout button image.

Upload your custom checkout button image via the media library so you have the URL of the custom image ready.

Add the following code to your theme’s functions.php file and specify the actual custom image URL of the checkout button that you want to use.

add_filter('wspsc_cart_checkout_button_image_src', 'override_checkout_button_image');
function override_checkout_button_image($checkout_button_img_src)
{
    //Specify the URL of your custom image
    $checkout_button_img_src = 'http://www.example.com/uploads/my-custom-checkout-image.jpg';
    return $checkout_button_img_src;
}

Simple Shopping Cart – Adding Extra PayPal Input Fields

The simple shopping cart plugin has a filter that you can use to add extra input fields that will get sent to PayPal as part of the checkout.

Code Example

The following code example shows how you can append extra fields to the checkout form (add this code to your theme’s functions.php file or a custom plugin).

It will add the language code field to force a specific language on the PayPal checkout page.

add_filter('wspsc_cart_extra_paypal_fields', 'append_extra_fields');
function append_extra_fields($output)
{
    //Add the PayPal language code field
    $output = '<input name="lc" type="hidden" value="US" />';
    return $output;
}

Simple Shopping Cart – Adding Values to PayPal Custom Field

The simple shopping cart plugin has a filter that you can use to add extra data to the PayPal custom field.

Note: The plugin already uses the PayPal custom field to pass some parameters to PayPal. So you should append your data to this custom field (to make sure you don’t erase the custom data added by this plugin)

Code Example

The following code example shows how you can append data to the custom field (add this code to your theme’s functions.php file or a custom plugin).

add_filter('wpspc_cart_custom_field_value', 'append_my_custom_data');
function append_my_custom_data($custom_value)
{
    //Append my data using query parameter
    $custom_value = $custom_value . '&my_data=XYZ';
    return $custom_value;
}

This will pass your data along with the cart’s custom data to the PayPal’s custom field.

WP eStore PayPal Installment Payment Addon

Ever wanted to offer your customers the option to pay via installment payment for your products or services? The eStore PayPal Installment Payment addon allows you to accept payments in installments for the products or services you sell from your website. Offering an installment payment option can be very helpful if you are selling high priced items.

You can offer installment plans that collect the first installment on checkout, with up to 3 additional installments. Or, you can set up installment plans that defer the first installment, with up to 4 installments.

Installing the eStore PayPal Installment Addon

You can install this addon the same way you install any WordPress plugin:

  • Go to the “Add New” plugins screen in your WordPress admin area
  • Click the “upload” tab
  • Browse for the addon file (estore-paypal-installment.zip)
  • Click “Install Now” and then activate the plugin

Product Configuration

In order to configure PayPal Installment specific options for a product click “Add/Edit Products” from the admin dashboard.

screenshot showing how to add a new product in the wp estore plugin

Click on the “PayPal Installment Specific Settings” section and configure the details of your installment plan.

screenshot showing how to configure PayPal Installment specific settings in the WP eStore plugin

Click Save product.

Please note that All payments must be collected within one year of checkout (This is a requirement of PayPal Installment checkout from PayPal). So you need to configure your plan accordingly.

Shortcode Usage

You can now add the following shortcode to a WordPress page (your landing page) to create an installment payment button for a product or service:

[eStore_paypal_installment id="1"]

Here, id is your unique eStore product ID.

Using Installment Payment Button With Fancy Product Display

If you want to use it with a fancy product display template then you just need to make sure that the product in question has the installment details configured. Then you can use the fancy display template shortcode as usual.

Get the PayPal Installment Addon

The price of this addon is $39.00

Make Credit Card the Default Checkout Option for PayPal Standard

When your customers checkout using the standard PayPal checkout option in eStore, PayPal figures out (using a cookie) if the user has PayPal account or not. Then it presents the checkout option (Paypal account or Credit card) accordingly. The customers can always switch between the checkout options from this page and make the payment.

If you want to force the credit card checkout option to be the default option, then use this addon plugin on your site. When the customers land on the PayPal checkout page, the credit card payment option will be open by default.

Note: You need to have a PayPal business or premiere account to accept credit card from your customers.

credit-card-default-paypal-checkout-option

Installing the Addon

You can install this addon the same way you install any WordPress plugin:

  • Go to the “Add New” plugins screen in your WordPress admin area
  • Click the “upload” tab
  • Browse for the addon file (estore-card-default-paypal-checkout-option.zip)
  • Click “Install Now” and then activate the plugin

Using the Addon

You just have to keep this addon active.

Download the Addon

You can download this addon from the addon download area of our customer only support forum.

How to Receive Buyer’s Phone Number from PayPal

To receive contact phone number of buyers, you will need to enable an option in your PayPal merchant account.

Step 1) Log into your PayPal account

Step 2) Go to Profile -> My Selling Tools -> Website preferences

It should be at this page in your PayPal account.

Note: PayPal changes their website interface frequently so you may have to look for it a bit.

Step 3) Set Contact Telephone to On (Required Field)

screenshot showing how to accept buyer phone number with a paypal order

Step 4) Save your settings

Next Page »

Your Shopping Cart

Shopping Cart Empty
Shopping Cart is Empty
Visit The Shop

Search

Featured Documents

Stylish Product Display Options for WP eStore WP eStore Quick Setup and Usage Video Tutorial WP eStore Shortcodes and Functions Reference WordPress eStore Plugin Features WordPress eStore Plugin Demo What Our Customers Have to Say About Our Products WordPress eStore WishList (Feature Suggestions) WordPress eStore Frequently Asked Questions (FAQ) How to Show Add to Cart buttons

Featured Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | eCommerce Plugins