> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://seedgrow.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Use the Widerruf Button App

This guide walks you through setting up, testing, and managing withdrawal requests in your Shopify store.
# 1️⃣ Set Up the App
### Step 1: Install & Access the App
* Log in to your **Shopify Admin**
* Install and open the **Widerruf Button** app

### Step 2: Add the Widerruf Button to Your Theme
The app works via **Theme App Blocks**.
* Go to **Online Store → Themes**
* Click **Customize**
* Add the **Widerruf Button block**
* You can place the button in multiple locations (e.g., footer, legal page, account page)
💡 Tip: Ensure the button is clearly visible and always accessible.

### Step 3: Customize the Form & Email
Inside the app settings, you can:
* Customize the 2-step withdrawal form
* Edit confirmation email content
* Adjust wording to match your brand voice
Save your settings once completed.

### Step 4: Create a Test Order
To fully test the app:
* Place a test order in your store
* You can use: A logged-in customer account or guest checkout
Make sure the order is successfully created before testing the withdrawal.

# 2️⃣ Revoke (Withdraw) an Order
You can test withdrawals from either:
* A logged-in customer account
* A guest customer session
### How the Process Works
1. Click the **Widerruf Button**
2. Enter: Order ID & customer email (required)
3. Confirm the withdrawal in Step 2

### What Happens Next?
###### ✅ If Order ID and Email Match Store Records:
* Withdrawal request is accepted
* Confirmation screen appears
* Customer receives confirmation email
* PDF document is generated
###### ❌ If Order ID or Email Does Not Match:
* Error screen appears
* Failed attempt is logged
The system also checks:
* Whether the order exists
* Whether it is within the 14-day withdrawal period
* Security rate limits

# 3️⃣ Post-Withdrawal Actions
## For Customers
After successful submission:
* Customer receives a **confirmation email**
* A **PDF copy** of the withdrawal request is included
* The submission timestamp is recorded

## For Store Admin
In the app dashboard, you can:
* View all withdrawal requests
* See submission logs (UTC time)
* Review validation status
* Update Widerruf status
* Take internal actions (e.g., process refund, contact customer)
All requests are stored securely for documentation and compliance purposes.