> For the complete documentation index, see [llms.txt](https://dynamite-1.gitbook.io/dynamite/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dynamite-1.gitbook.io/dynamite/site-guides/target.md).

# Target

### Target AU Guide

#### Supported Payment Methods

* Card + Paypal + savedpaypal + paypalauto Supported

#### Target Account Login Feature

* Load account Email + Pass to accounts.csv
* Run Target login feature. Requires Capsolver.

#### Account Generator

* **Menu**: Target → 5. Account Generator
* Generates random first name, last name, phone, and password (meets Target rules: >6 chars, 1 number, 1 special char)
* **Input options**:
  * **Single email**: When prompted, enter a full email (e.g. `user@gmail.com`) or a catchall (e.g. `@mydomain.com`)
  * **Batch mode**: Use `sites/target/accountgen.csv` with an `email` column
* **Catchall support**: Put `@domain.com` in accountgen.csv or when prompted — generates unique addresses like `james.smith4821@domain.com`
* **Output**: All generated accounts saved to `sites/target/genned_accounts.csv` (timestamp, email, password, first\_name, last\_name, phone, status, error\_message)
* Copy verified accounts from genned\_accounts.csv into accounts.csv for checkout

#### Task File Configuration (tasks.csv)

**Required Columns**

* **product\_url** - The full product URL from Target AU (e.g., <https://www.target.com.au/p/product/123456>) OR just the product ID number
* **profile\_name** - Must match a profile name in your profiles.csv file

**Optional Columns**

* **quantity** - Quantity to purchase (default: 1). Use "max" to attempt maximum available quantity
* **mode** - Operation mode (see modes section below)
* **cnc** - `true` / `1` / `yes` for **click & collect**; leave blank or `false` for **home delivery** (default)
* **distance** - Max distance in **km** for store search when `cnc` is enabled (e.g. `5` = stores up to 5 km). Required if `cnc` is true. The bot picks the **closest** store that is **available** and within this radius (matches Target’s `formattedDistance`, e.g. `1.7 km`)

#### Modes

\*note. if you run card with guest it will 99% decline. If ur running guest use paypal, if ur running accounts use saved card or savedpaypal

**1. Normal Mode**

* **Mode Value**: Leave empty or any value not listed below
* **Description**: Standard checkout process with stock checking
* **Use Case**: Regular purchases with stock verification

**2. Account Mode**

* **Mode Value**: account
* **set accountmode to true**
* **Description**: Uses account for checkout with saved card.
* **Use Case**: Wont get declined.

**3. Search Mode**

* **Mode Value**: search
* **set accountmode to true or false** if u want to use accounts.
* **Description**: Uses keywords to find a product.
* **Use Case**: Pick up items as they load onto site.

**4. Loop Mode**

* **Set loopmode to true**
* **Description**: Loops after successful paypal/card checkout

**5. Click & Collect (CNC)**

* **Columns**: Set **`cnc`** to true and set **`distance`** (km). Not a separate `mode` value — works with normal or search tasks.
* **Fulfillment**: **Home delivery** = default when `cnc` is off. **Click & collect** = store pickup when `cnc` is on.
* **Profile**: Uses the profile’s **zipcode** to search stores. Pick a **distance** at least as large as the km you need (e.g. `2` includes a store at `1.9 km`).
* **Account + CNC**: Task must include **`profile_name`** (same profile used for postcode, pickup contact, and billing).
* **Guest + CNC**: Use PayPal (recommended for guest). Full profile address is used for pickup contact and **billing** after pickup is set.
* **Webhooks**: Embeds include **Method** (`cnc` or `delivery`) and **Store** (chosen store name) when CNC is used.

#### Settings Json

* **payer\_id** - for paypal extract this by logging in to account and then inspect element search for encryptedAccountNumber
* **auto\_open\_paypal** - whether u want it to open paypal in browser or not. Set True/False

#### Profile Setup (profiles.csv)

**Required Fields**

* **profile\_name** - Unique identifier for the profile
* **first\_name** - Customer first name
* **last\_name** - Customer last name
* **email** - Customer email address
* **phone** - Customer phone number
* **address1** - Street address
* **city** - City name
* **state** - State abbreviation (e.g., NSW, VIC)
* **zipcode** - Postal code

**Click & collect**

* **zipcode** is used to find nearby stores. Keep it accurate for your pickup area.

#### Quantity Management

* **Standard**: Specify exact quantity (e.g., 5)
* **Maximum**: Use "max" to attempt highest available quantity
* **Auto-adjustment**: Automatically adjusts to available stock if requested quantity exceeds limits

#### Example Task Entry

```
product_url,profile_name,payment_type,quantity,mode
https://www.target.com.au/p/product/123456,JohnDoe,paypal,2,
123456,JaneDoe,card,max,test
```

**Click & collect example** (add `cnc` and `distance`):

```
product_url,profile_name,payment_type,quantity,cnc,distance
https://www.target.com.au/p/123456,JohnDoe,paypal,1,true,5
```
