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.

Adding an ID to the Add to Cart Button of the Plugin

You can add an ID tag to the add to cart button form using the following filter hook of the plugin.

wspsc_add_cart_button_form_attr

Below is an example PHP code that shows you how it works:

add_filter('wspsc_add_cart_button_form_attr', 'add_cart_button_custom_id');
function add_cart_button_custom_id($attr)
{
    $attr .= 'id="my_custom_id_123"';
    return $attr;
}

The above example code will add the ID of “my_custom_id_123” to the add to cart button form.

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.

WP Simple Cart – Collect Customer Input in the Shopping Cart

This is a premium add-on for the WP Simple Cart Plugin designed to collect customer input directly in the shopping cart at the time of checkout. It’s particularly beneficial for selling customizable products that require customer-specific information (for example, a name to be printed on the product).

With this add-on, you can easily configure custom input fields through its admin interface. These fields will then appear in the shopping cart, allowing your customers to provide the necessary information during checkout.

The input fields show up in the cart like the following example:

simple-cart-collect-customer-input-addon-screenshot

The input values entered by the customer will be saved with the customer’s order/transaction in the Simple Cart plugin’s menu.

This paid add-on can be purchased at the bottom of this page. We recommend users to carefully review the information provided here to fully understand its features before making a purchase. This ensures that the add-on meets your expectations and aligns with its capabilities.

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 (simple-cart-collect-customer-input.zip)
  • Click Install Now and then activate the plugin

Using the Simple Cart Custom Input Addon

Step 1) Go to the Addon’s Menu

In order to configure the collect customer fields,  click on the Customer Input sub-menu under the Simple Cart menu of the plugin.

Step 2) Configure the Custom Fields

Click on the Add New button to add custom fields that you want to show in the cart to collect data.

Enter a label for the input field (the addon will use this label in the cart). You can specify a help text that will be shown below the text field.

Optionally, you can make the input field to be a required field (so customers have to enter a value before checkout).

configuring-custom-fields-screenshot

Step 3) Save the Settings

Once you are done configuring the fields, save the settings.

The input fields will just show up in the shopping cart.

Viewing the Custom Fields Value

You can edit/view a transaction from the Cart Orders menu which will show the customer input values. You can see the custom fields where you see the order details of the transaction.

Adding the Input Field Value to the Notification Email

You can optionally add this input field to the sale notification email also. Use the following email merge tag in the notification email settings:

{custom_fields}

Get the Simple Cart Customer Input Addon

The price of this addon is $39

 

Simple Shopping Cart – Customize the Add to Cart Button Text via Shortcode

The wp simple cart plugin allows you to customize the add to cart button from the settings menu of the plugin. However, that change is applied globally to all your product buttons.

There is another option to customize the add to cart button text by using an extra parameter in the shortcode. This only applies the change to the shortcode where you are using it. This can be very useful when you want to use a custom button text just for a few products on your site.

You an specify the custom button text via the “button_text” parameter. The following example shortcode shows how to use it:

[wp_cart_button name="Just a Test Product" price="29.95" button_text="Add Me Now"]

You can also use this shortcode parameter in the product box shortcode like the following example:

[wp_cart_display_product name="My Awesome Product" price="25.00" thumbnail="http://www.example.com/images/product-image.jpg" description="This is a short description of the product" button_text="Add Me Now"]

It will create a button with custom text like the following example:
simple-cart-add-to-cart-button-with-custom-button-text-eample

Customize the Shopping Cart Image/Icon in the Cart

The simple shopping cart plugin has a filter that you can use to customize the Shopping Cart image icon that is displayed at the top of the cart.

Code Example

The following code example shows how you can use your own custom cart image.

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

Add the following code block to your theme’s functions.php file and specify the actual custom cart image URL:

add_filter('wspsc_cart_icon_image_src', 'override_cart_image_icon');
function override_cart_image_icon($cart_img_src)
{
    //Specify the URL of your custom cart image
    $cart_img_src = 'http://www.example.com/uploads/my-custom-cart-image-icon.jpg';
    return $cart_img_src;
}

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;
}
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