# Payment Settings

The Payment Settings screen, under **Downloads** » **Settings** » **Payments**, controls how your Easy Digital Downloads store handles transactions. It has several sections, including General, Checkout, Cart, Refunds, Accounting, and more. Additional payment gateway sections appear once you enable them.

If you completed the Setup Wizard, some of these settings (like your currency and Stripe connection) may already be configured. This screen is where you review and adjust your payment-related settings anytime.

- [General](#general)
- [Checkout](#checkout)
- [Cart](#cart)
- [Refunds](#refunds)
- [Accounting](#accounting)
- [PayPal](#paypal)
- [Subscriptions](#subscriptions)
- [Square](#square)
- [Stripe](#stripe)
- [Invoices](#invoices)



---

![Easy Digital Downloads Payment Settings plugin menu in WordPress admin.](https://easydigitaldownloads.com/wp-content/uploads/2023/03/edd-payment-settings-menu-location.png)General
-------

**Test Mode**: While test mode is enabled, no live transactions are processed. Use test mode together with the sandbox/test account for your payment gateway to test your store. Enabling test mode is part of [testing your store](https://easydigitaldownloads.com/docs/test-and-launch/) before launch.

**Active Gateways**: The gateways you select here are available to customers at checkout. Not sure which gateway fits your store? See our [Payment Gateways overview](https://easydigitaldownloads.com/docs/payment-gateways/) to compare your options.

**Default Gateway**: This gateway is selected automatically at checkout.

![The Payment Settings General tab options in Easy Digital Downloads plugin.](https://easydigitaldownloads.com/wp-content/uploads/2023/03/edd-payment-settings.png)**Payment Method Icons**: You can optionally display card icons (like Visa, Mastercard, American Express, Discover, and PayPal) on your checkout page. You&#039;ll still need to configure your gateway settings if you&#039;re accepting credit cards.

---

Checkout
--------

**Enforce SSL on Checkout:** Enable this to redirect all customers to the secure checkout page. You must have an SSL certificate installed to use this option.

**Customer Registration:** You can decide whether customers need a an account to place an order. Set this to auto to create a user account for a customer if one does not already exist. The dropdown options are:

- **All customers to place orders without an account**: Customers will not be required to log in or create a user account. If you display the registration fields on checkout, they will be optional, unless the customer is purchasing a subscription.
- **Customers must log in or create an account to purchase**: When this is selected, use the setting below to show the Register and Login forms at checkout.
- **Automatically register new user accounts**: Registration fields won&#039;t appear at checkout, and the customer is automatically registered using their email address as their username. Now built into core, this feature was previously managed with the Auto Registration extension.

**Show Register / Login Form:** Determine whether to display the registration and login forms on the checkout page for non-logged-in users.

![The Checkout settings in Easy Digital Downloads Payment Settings.](https://easydigitaldownloads.com/wp-content/uploads/2023/03/edd-payment-checkout-settings-tab-800x384.png)**Enable One-Time Login Link:** The Magic Login Link feature gives customers a quick, secure way to access their account during checkout, especially if they have an existing account but prefer not to enter your password.

**How It Works During Checkout:**

1. **Existing account detection:** If the system identifies an existing account tied to the email address being used, and logging in is required, the customer is offered the option to request a one-time login link.
2. **Requesting the link:** The customer chooses this option to receive a unique, one-time login link at their registered email address.
3. **Automatic login:** Clicking the link in the email redirects the customer back to the checkout page and securely logs them in, so they can finish their purchase without any further login steps.

This process ensures a smooth and hassle-free experience, getting users logged in and back to completing their order efficiently.

One-click Login Links are designed only for customers. They&#039;re never emailed to accounts with elevated access or store privileges. If you&#039;re testing this feature, be sure to use a standard customer account.

**Checkout Address Fields:** You can read our guide on on [customizing the address fields](https://easydigitaldownloads.com/docs/customizing-checkout-address-fields/).

**Geolocation Detection:** Increase conversions by auto-detecting the country and region for customers at checkout. The dropdown options are:

- **Disabled**
- **Always Enabled**
- **Enabled for logged out users only**

EDD will attempt to populate the business address (City, State, Zipcode) based on the visitor&#039;s IP address. If a customer is logged in and a primary address exists, the primary address will be used in place of the geolocation. This feature is only available for Easy Digital Downloads (Pro) users.

**Required Fields Notice:** Display a notice on forms explaining that fields marked with an asterisk (\*) are required.

**Banned Emails:** Emails entered in the box won&#039;t be allowed to make purchases. Enter one per line: email addresses, domains (`@example.com`), or TLDs (`.gov`).

![Geolocation detection and banned email settings in the EDD Payment Checkout settings tab.](https://easydigitaldownloads.com/wp-content/uploads/2023/03/edd-payment-settings-checkout-bottom-settings-800x421.png)---

Cart
----

**Redirect to Checkout:** When enabled, adding an item to the cart sends the customer directly to your checkout page. This is useful for stores that sell single items.

**Cart Preview**: Show a sliding cart drawer when customers add products to their cart. Once enabled, you can configure the cart preview button and recommendations:

- **Button Size:** Large, Small, or None
- **Button Position:** Bottom Left Corner or Bottom Right Corner
- **Cart Recommendations:** Show recommended products in the cart preview. After you enable recommendations, it takes just a few minutes to sync your products.

Learn more in [Enabling Cart Previews](https://easydigitaldownloads.com/docs/enabling-cart-previews/) and [Enabling Cart Recommendations](https://easydigitaldownloads.com/docs/enabling-cart-recommendations/).

**Enable Cart Saving:** Cart saving allows shoppers to create a temporary link to their current shopping cart so they can come back to it later or share it with someone.

**Cart Item Quantities:** Allow quantities to be adjusted when adding downloads to the cart, and while viewing the checkout cart. Note: Recurring products will have item quantities disabled.

![EDD Payment and Cart settings ](https://easydigitaldownloads.com/wp-content/uploads/2023/03/edd-payment-settings-cart-tab.png)**Empty Cart Behavior:** Choose what should happen when a customer visits the checkout page with an empty cart. The dropdown options are:

- **Show a message**
- **Redirect to a Page**
- **Redirect to a URL**

**Empty Cart Message:** The message to display when the cart is empty. This setting can be modified by the `edd_empty_cart_message` filter, so changes here may not be reflected if that filter is active.

**Empty Cart Preview Message:** The message to display in the cart preview when the cart is empty. This setting does not support shortcodes or complex formatting. The default is &quot;Your cart is empty.&quot;

![Empty cart settings in Easy Digital Downloads plugin payment settings.](https://easydigitaldownloads.com/wp-content/uploads/2023/03/edd-cart-tab-empty-cart-settings-800x488.png)---

Refunds
-------

**Default Status:** Choose **Refundable** or **Non-Refundable**. This is your store&#039;s default for all products when they&#039;re created. It can be changed at a per-product level.

**Refund Window:** The number of days after a sale when refunds can be processed. The default is `30` days. Set it to `0` for unlimited. This can also be changed at a per-product level.

---

Accounting
----------

**Enable SKU Entry**: Check this box to allow entry of product SKUs in the Download Settings. SKUs will be shown on the purchase receipt and in exported purchase histories.

**Enable Sequential Numbering:** Toggle on to enable sequential order numbers. Enabling this does not affect previous orders, only future ones will be sequential.

**Sequential Starting Number**: The number at which the sequence should begin at.

**Sequential Number Prefix:** A prefix to prepend to all sequential order numbers.

**Sequential Number Postfix:** A postfix to append to all sequential order numbers.

**Advanced Order Numbers:** For even more control over your order numbering, the [Advanced Sequential Order Numbers feature](https://easydigitaldownloads.com/docs/advanced-sequential-order-numbers-setup/ &quot;Advanced Sequential Order Numbers Setup&quot;) lets you track free orders in a separate series, assign temporary numbers to incomplete orders, and keep abandoned orders from interrupting your complete order series.

---

PayPal
------

See the [PayPal setup guide](https://easydigitaldownloads.com/docs/paypal-setup/) for PayPal settings.

---

Subscriptions
-------------

See the [Recurring Payments setup guide](https://easydigitaldownloads.com/docs/recurring-payments-setup-overview/) for subscription billing settings.

---

Square
------

See the [Square setup guide](https://easydigitaldownloads.com/docs/setting-up-square-payments/) for Square settings.

---

Stripe
------

See the [Stripe setup guide](https://easydigitaldownloads.com/docs/stripe/) for Stripe settings.

---

Invoices
--------

See the [](https://easydigitaldownloads.com/docs/edd-invoices-installation/)[Invoices guide](https://easydigitaldownloads.com/docs/invoices/) for invoice settings.