Skip to main content

Search Divi Plus Documentation

Search for answers or browse our knowledge base.
Explore Divi Plus's Live Demo

Print

Paypal Button Guide

This guide shows you how to add a PayPal payment button to your website to accept payments, donations, or subscriptions, using Divi Plus. To see the feature and all of its options, visit the PayPal Button page: https://diviplus.io/divi-paypal-button/

Key features

  • Multiple Button Types: Support for Buy Now, Donate, Subscription, and Add to Cart.
  • Sandbox Mode: Test payments safely before going live.
  • Custom Currency & Pricing: Set item price, currency code, SKU/Item ID, and tax/shipping charges.
  • Custom Redirect URLs: Define custom Return (Thank You) page and Cancel page URLs.
  • Full Design Flexibility: Customize button layout, colors, icons, typography, hover effects, and alignment using Divi’s standard design controls.

How to add and configure

1. Add the Module

  1. Open any page in the Divi Builder.
  2. Click the gray + (Add Module) icon.
  3. Search for DP PayPal Button (or Divi Plus PayPal Button) and click to insert it onto your layout.

2. Content Tab Configuration

A. PayPal Account Settings

  • PayPal Email / Merchant ID: Enter your registered PayPal email address or PayPal Merchant ID where payments should be received.
  • Payment Mode:
    • Live Mode (for actual transactions)
    • Sandbox Mode (for testing payments with PayPal developer test accounts).

B. Payment Information

  • Button Type: Choose the type of button you want to display:
    • Buy Now: Single item purchase.
    • Donate: Receive contributions/donations.
    • Subscription: Recurring payment model.
    • Add to Cart: Adds item to PayPal cart.
  • Item Name: Enter the title of the product or service being sold.
  • Item ID / SKU: (Optional) Enter a unique product code for inventory tracking.
  • Price / Amount: Enter the cost per item (e.g., 49.99).
  • Currency Code: Select the currency (e.g., USD ($), EUR (€), GBP (£), CAD ($), AUD ($), etc.).

C. Shipping & Tax (Optional)

  • Shipping Amount: Add a fixed shipping fee to the total cost.
  • Tax Amount: Specify a fixed tax amount or percentage rate if applicable.

D. Redirect URLs

  • Return URL (Success Page): Enter the URL of the page where buyers will be redirected after completing a successful transaction (e.g., https://yoursite.com/thank-you/).
  • Cancel URL: Enter the URL of the page users land on if they cancel or exit the transaction before paying (e.g., https://yoursite.com/cart/).

E. Button Content & Icon

  • Button Text: Customize the label on the button (e.g., “Pay with PayPal”, “Donate Now”, “Buy Product”).
  • Use Icon: Enable/Disable adding an icon to the button. You can choose the official PayPal logo icon or any custom Divi font icon.

3. Design Tab Options

  • Button Alignment: Align the PayPal button to the Left, Center, or Right within its column.
  • Button Design / Styling:
    • Customize background color, gradient, or background image.
    • Set text color, font style, font size, letter spacing, and line height.
    • Apply custom borders (border radius, width, color).
    • Add box shadow effects and hover animations.
  • Spacing: Adjust internal padding and external margin for desktop, tablet, and mobile breakpoints.

4. Advanced Tab

  • CSS ID & Classes: Assign custom CSS IDs or classes for targeted styling.
  • Custom CSS: Write custom CSS for specific element targets (Main Element, PayPal Button, Button Icon).
  • Visibility & Conditions: Control visibility across Desktop, Tablet, and Mobile, or set display conditions based on user roles.

❓ Frequently Asked Questions (FAQ)

Q: Do I need a PayPal Developer account to use this module?

A: No, a standard PayPal Business or Personal account is sufficient for live payments. A PayPal Developer account is only required if you wish to use Sandbox Mode for testing.

Q: Does this module require WooCommerce?

A: No. The Divi Plus PayPal Button operates independently of WooCommerce and connects directly to PayPal’s secure checkout environment.

Table of Contents