> For the complete documentation index, see [llms.txt](https://docs.pepperscripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pepperscripts.com/supported-sites-cli/prodirect-app.md).

# ProDirect App

You can run this module directly in our CLI

Lately, very often, all hyped shoes are dropped only on ProDirect mobile app.&#x20;

After running Pepper CLI for the first time, the tasks folder will be created in your pepper folder. You will need this below.

You have 5 modes available:

* (no value): normal drop or restock mode
* `FAST`: way more faster than normal mode, don't forget to run `SESSION` mode at least once in a time
* `SESSION`: useful for generating accounts session and prepare your account for running `FAST` mode (run it everytime you change the account delivery address)
* `ACCOUNT`: generates an account for the given username and password, don't forget to fill address too since it will be seeded into your account
* `ADDRESS`: changes your default account delivery address to the one specified into the CSV
* `ORDERS`: fetches all orders with the relative state for the given account

### Available payment methods

We currently support three different payment methods:

* `CC` for using a Credit card when checking out
* `PP` for using PayPal when checking out
* `PP ACO` for auto paying PayPal links (only available if an valid session is found, it falls back to normal PayPal checkout if ACO session is invalid or something goes wrong)

### Tasks setup

Here is a table that explains the meaning of every field and, if applicable, a default value.

| COLUMN NAME    | VALUE                                                                                                                                                                                     |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SITE           | PRODIRECTAPP as a value                                                                                                                                                                   |
| MODE           | Empty or one as a reported above                                                                                                                                                          |
| PID            | Product ID (e.g`1010175`)                                                                                                                                                                 |
| QUANTITY       | Leave empty, unused on that site                                                                                                                                                          |
| DELAY          | In milliseconds (e.g. 3000 for 3 seconds delay)                                                                                                                                           |
| EMAIL          | Account email or @catchall.com when generating accounts                                                                                                                                   |
| PASSWORD       | Account password (min 8 characters, at least an uppercase char, a lowercase char, a number and a special char)                                                                            |
| FIRST NAME     | Recipient name                                                                                                                                                                            |
| LAST NAME      | Recipient surname                                                                                                                                                                         |
| ADDRESS LINE 1 | Recipient first address line                                                                                                                                                              |
| ADDRESS LINE 2 | Recipient second address line (optional)                                                                                                                                                  |
| HOUSE NUMBER   | Recipient house no.                                                                                                                                                                       |
| CITY           | Recipient city                                                                                                                                                                            |
| ZIPCODE        | Recipient zip code                                                                                                                                                                        |
| STATE          | Recipient state                                                                                                                                                                           |
| COUNTRY        | <p>A 3-letters country ISO Code (e.g. <code>GBR</code> for UK)<br><em>You can check your country</em> <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3"><em>here</em></a></p>    |
| PHONE          | With country prefix like +44123456789                                                                                                                                                     |
| PAYMENT        | `PP`, `CC` or `PP ACO`                                                                                                                                                                    |
| COUPON         | Usually `PRODIRECT10`                                                                                                                                                                     |
| CARD HOLDER    | Match the real data, they are used to cancel                                                                                                                                              |
| CARD NUMBER    | Card number                                                                                                                                                                               |
| EXP MONTH      | Two digits (e.g `02` or `12`)                                                                                                                                                             |
| EXP YEAR       | Four digits (e.g. `2026)`                                                                                                                                                                 |
| CVV            | Credit card CVV                                                                                                                                                                           |
| WEBHOOK        | If empty the one set up in `settings.json` will be used                                                                                                                                   |
| PROXY LIST     | <p>Has te the exact filename, don't forget the extension name like <code>.txt</code> (e.g. <code>prodirect.resi.txt).</code><br><br>If empty <code>prodirect.txt</code> will be used.</p> |

### Accounts generator

You can generate an account by using `ACCOUNT` as a mode and as `EMAIL` you can use:

* specific email like `pds@pepperscripts.com`
* your catchall like `@pepperscripts.com` (don't prefix it with RANDOM!)

In case you are going to use your catchall, first name and last name will be used in order to generate a random email prefix.

{% hint style="info" %}
Basically every recipient component can be jigged with the XXX trick: put as many uppercase X (2 minimum) and they will be replaced with a random letter.

If you want you can also jig your phone number. So using like +4476XXXXXX will generate something like +4476112234.
{% endhint %}

### Example taskfile

Here is an example task file:

{% file src="/files/qVdFFbqRu3u1PSDxCqaM" %}

You can edit this file by using [Rons editor](https://www.ronsplace.ca/products/ronseditor).
