---
title: Payment Methods and Transaction Management | Shopware Community Hub
description: >-
  Learn how to configure, manage, and optimize payment methods in Shopware to
  enhance transaction efficiency and customer satisfaction.
canonical_url: 'https://hub.shopware.com/learn/unit/user-process-payment'
---

# Payment Methods and Transaction Management

<LearningObjectives>

- Understand the role of payment methods and states in ecommerce transactions.
- Learn how to activate, configure, and assign payment methods in Shopware.
- Use Rule Builder to control payment method availability based on order criteria and customer data.
- Create custom payment methods tailored to specific business scenarios (e.g., "Pay Later").
- Integrate third-party payment providers like PayPal and Amazon Pay.
- Test and troubleshoot payment configurations to ensure smooth customer checkout experiences.
- Apply real-world payment strategies to enhance flexibility, security, and conversion rates.

</LearningObjectives>

# Payment

<YoutubeEmbed link="https://www.youtube.com/watch?v=hp1a6Ssgcv0"/>

Managing payment options effectively is crucial for delivering a smooth shopping experience to your customers. Shopware provides a comprehensive system for managing various payment methods, ensuring flexibility and convenience for both merchants and customers. This section covers the setup, customization, and integration of payment methods within Shopware.

## What is payment?

In the context of ecommerce, payment refers to the methods and processes customers use to complete their purchases. Payments in Shopware operate with **payment states**, which track the status of a payment throughout the transaction lifecycle, such as "Open," "Paid," "Partially Paid," or "Cancelled." These states provide a clear overview of transactions and help manage order fulfillment effectively.

### Overview of payment methods

<ShopdevInstance plugin="lp15" step="DoNotDisplay" plan="rise" />

Shopware allows merchants to manage the activation and availability of various payment methods through the administration interface. To activate or deactivate payment methods:  

1. Navigate to **Settings** -> **Payment Methods**.  
2. Select a payment method from the list.  
3. Toggle the activation status to turn the payment method on or off.

    ![Payment methods](./assets/payment_methods.jpg)

4. Assign the payment method to the relevant sales channels. This ensures that the payment method is available for customers in those channels.  

Using **Rule Builder**, each payment method can also be tailored to specific scenarios, enabling merchants to define availability based on conditions such as order amount, region, or customer group.

### Scenario: Creating a custom payment method

Strum & Co. wants to add a "Pay Later" payment option for customers who place orders over $500 and are based in the United States. We will create this custom payment method using Shopware's Payment Methods and apply dynamic rules using Rule Builder to ensure it's available only to" eligible customers.

### Step 1: Create a new payment method

1. **Navigate to payment methods**:
   - Go to **Settings -> Payment methods** in the Shopware admin panel.

2. Click **Add Payment Method** to create a new one.

     ![Payment methods](./assets/payment_methods.jpg)

3. **Fill in required fields**:
   - **Payment method name**: "Pay Later"
   - **Technical name**: "Pay Later"
   - **Position**: "10"
   - **Description**: "Pay Later - Pay for your order within 30 days of purchase. Available for orders over $500."
   - Activate it.

     ![Payment methods](./assets/payment_config.jpg)

4. Save the payment method.

### Step 2: Set payment method availability using rule builder

1. Go to **Settings -> Rule builder** and click **Create rule**.

2. **Define conditions**:
   - **Name the rule**: "Pay Later Eligibility Rule"
   Condition 1 **: Choose** Total **. Set it to**Greater than or equal to 500** to ensure that the payment method only appears for orders over $500.
   - **Condition 2**: Choose **Customer - Country**. Please set it to **Germany** to make this payment method available only for customers in Germany.

     ![Payment methods](./assets/payment_rule_config.jpg)

3. Save the rule.

### Step 3: Assign the rule to the payment method

1. Go back to **Settings** -> **Payment methods**.

2. Select the newly created **"Pay Later"** payment method and click **Edit**.

3. In the **Availability rules** section, select the rule **"Pay Later Eligibility Rule"**.

     ![Payment methods](./assets/payment_rule_assign.jpg)

4. Save the payment Method.

### **Step 4: Assign the payment method to a sales channel**

1. Choose the sales channel (e.g., **Strum&Co**) where you want to offer this payment method.

2. Under the **Payment methods** section, ensure the **"Pay Later"** method is assigned.

3. Save the sales channel.

### **Step 5: Test the new payment method**

1. **Place a test order**:
   - Go to the store and add products totaling over **$500**.
   - Make sure you're browsing from **Germany**.

2. **Check the payment options**:
   - The **"Pay Later"** payment option should be visible during checkout. If the total is less than $500 or the customer is outside Germany, this option should **not** be available.

     ![Payment methods](./assets/payment_verify_without.jpg)

Strum & Co. now offers a **"Pay Later"** payment method only available to **U.S.-based customers** with **orders over $500**. This custom payment method is available at checkout and will help cater to specific customer needs, enhancing the customer experience and driving more significant sales.

  ![Payment methods](./assets/payment_verify_without.jpg)

## Payment integrations  

Shopware supports seamless integration with popular third-party payment providers, enabling merchants to offer trusted and convenient options such as PayPal and Amazon Pay.  

### PayPal Integration  

PayPal is one of the most widely used payment gateways, and it is fully supported by Shopware. The integration includes advanced features like Express Checkout, PayPal Plus, and Installments, providing a comprehensive payment solution.  

#### Steps to integrate PayPal  

1. **Install the PayPal app**:  
   - Navigate to **Extensions** -> **My Extensions** in the administration area.  
   - Search for "PayPal for Shopware 6" and install the app.  
   > Note: The PayPal app is pre-installed in the Shopware Sandbox environment.  

2. **Configure the app**:  
   - Access the app settings.  
   - Enter your PayPal credentials (Client ID and Secret) for sandbox or live environments.  
   - Configure additional settings, such as payment options and currency support.  

3. **Enable features**:  
   - Activate PayPal Express and PayPal Plus to enhance customer convenience during checkout.  
   - Enable installments if applicable, allowing customers to pay in smaller amounts over time.
   - You can also set PayPal as a default payment method.

4. **Test the integration**:  
   - Visit your storefront and simulate a purchase to ensure the PayPal payment flow works as expected.  

## Activity: Amazon Pay integration  

Integrate Amazon Pay into Strum & Co.'s online store to provide customers with Amazon accounts with a fast, secure, and familiar checkout experience.

<Callout type="info" title="Expand Your Payment Options">  

Multiple payment methods can significantly improve conversion rates by catering to diverse customer preferences. Regularly review your payment settings to ensure they meet your business needs and customer expectations.

</Callout>

For further details on configuring payment methods, refer to the [Shopware documentation on payment integrations](https://docs.shopware.com).

## Final Thoughts

Effective payment management is a cornerstone of successful ecommerce operations. By carefully configuring payment methods, integrating reliable payment providers, and implementing smart rules for payment availability, merchants can significantly enhance the customer experience and streamline their checkout process. Regular monitoring and optimization of payment settings will help maintain high conversion rates while ensuring secure and efficient transaction processing.
