---
title: "Testing"
description: "How to test your buyback store before going live."
url: "https://docs.gytabuyback.com/support/testing/"
---
## Testing Your Store

Before going live, thoroughly test your buyback store.

## EasyPost Test Mode

Use your EasyPost **test API key** (`EZTK...`) to create test labels without charges.

## Place a Test Order

Visit your store frontend and add a product to the cart.

Go through checkout with a real address for the shipping label test.

Select a payment method and complete the order.

Check the order in WooCommerce → Orders. Verify the shipping label was generated and order notes contain a clickable label link.

## WP-CLI Commands

```
wp gyta test-label <order_id>    # Create a test label
wp gyta test-address              # Validate mailing address
wp gyta refund <order_id>        # Refund unused label
wp gyta get <setting_key>        # View a setting
wp gyta set <key> <value>        # Update a setting
```

Once everything works in test mode, switch to your **production API key** and go live!
