# Testing Your Gateway Through Order Entry

Please review our guide on [Gateway Setup / Creation](https://help.checkoutchamp.com/crm/gateway-setup/adding-a-gateway) before attempting to test your gateways through Order Entry.

After you have created your gateway, you can test it by placing an order through the **Customer → Order Entry** page.

{% hint style="warning" %}
3DS Gateways cannot be tested through Order Entry.
{% endhint %}

## Instructions <a href="#testingyourgatewaythroughorderentry-instructions" id="testingyourgatewaythroughorderentry-instructions"></a>

## Create a Phone Campaign

To list a campaign on the Order Entry page you will need to make sure you have a Phone campaign created with the **List in Order Entry** option enabled.\
\
To do so, go the [Campaigns Page](https://crm.checkoutchamp.com/crm/campaigns/) and add/edit a [phone campaign](https://help.checkoutchamp.com/crm/crm-setup/campaign-setup) that is designated for testing new gateways. Be sure the **List in Order Entry** option is enabled and **Save** the campaign.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FqcpB98jzbATHLYrugYRH%2FUntitled.png?alt=media&#x26;token=6cf60cb8-bd45-409b-8cd4-6fdcb371515e" alt=""><figcaption></figcaption></figure>

## Create an Offer

After you add or edit a campaign, click **Offers**, click **Options**, and click to **Add Offer**.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FdvXFOfIoyaCKd8pM2XtB%2Fimage.png?alt=media&#x26;token=f608201b-5c7d-41a9-ac5c-c702acd15ce5" alt=""><figcaption></figcaption></figure>

Inside the General Details of the offer configuration, choose any one of your base products and set the Gateway field to the new gateway you need to test.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FEaAi9WfBfM8OPtgjVSAt%2Fimage.png?alt=media&#x26;token=bcf9903b-a10f-48d7-9cb7-03ae02ec4ceb" alt=""><figcaption></figcaption></figure>

### Choose a Billing Type

Inside the Billing Schedule configuration, depending on if you need to test recurring billings or not, choose either **One-Time** or **Recurring** as the **Billing Type**.

#### **One-Time Sales**

Enter $1.00 into the **Base Price** field. Leave **IsShippable?** unchecked and the **Ship Price** field empty (unless you want to test fulfillment too).

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FjUbB7CCDaf3EyVqNkWNH%2Fimage.png?alt=media&#x26;token=9f90c731-3b9a-472b-9cc0-7e20bd630d14" alt=""><figcaption></figcaption></figure>

#### **Recurring Sales**

Set the **Cycle 1** price to $1.00 with a bill delay of 1 day.&#x20;

Then set **Cycle 2+** to $1.15 with any bill delay.

Leave **Shippable** disabled and the **Ship Price** field empty for both cycles (unless you want to test fulfillment too).

{% hint style="info" %}
If you choose Recurring, you can set the **Final Billing Cycle** to 2 so that you don’t need to remember to cancel out the subscriptions from your tests.
{% endhint %}

If a third cycle gets created you can either leave it there, or you can remove it by setting the cycle 3 bill delay to 0 days.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FVvgxvQH1EA0iXhU2uYZZ%2Fimage.png?alt=media&#x26;token=d236a1e5-0b5c-4683-95f3-2a307a54b9f5" alt=""><figcaption></figcaption></figure>

## Place an Order in Order Entry

Next, go to **Customers → Order Entry** and run a live test on your test campaign by buying the campaign product that is assigned to the new gateway.

{% hint style="danger" %}
**You will need to use a LIVE credit card in order to test the gateway. Test Card orders NEVER go to the gateway.**
{% endhint %}

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FhG7Cul5aUzRXeTvEuo73%2Fimage.png?alt=media&#x26;token=f9b144a6-0906-4e60-8a0a-87fc84f78477" alt=""><figcaption></figcaption></figure>

Once you have filled out the order form, including your live card number.

Select the test offer that you created.

Scroll down to the bottom and click the **Process** button.&#x20;

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F084PuJAIeNJAZ00AURI9%2Fimage.png?alt=media&#x26;token=14f95172-8720-4e87-b7e3-3d14fdde92df" alt=""><figcaption></figcaption></figure>

From here you will either get a decline with a decline response from the gateway or be successfully redirected to the Completed Order page.

## Results

### Decline

An error will pop up with the decline response from the gateway.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2Ft0L8ou0hGQi9OIygKYfR%2Fimage.png?alt=media&#x26;token=2ee45e95-2023-47bb-9fa1-c14d03f59805" alt=""><figcaption></figcaption></figure>

If this sale attempt declined, view the decline message from the gateway to see if any adjustments need to be made.

For example, “Authentication Failed” means that the credentials you entered into the CRM are incorrect. Please reach out to our support channel if you need assistance.

{% hint style="info" %}
You can click No Sale and End Call from within Order Entry to end the test.&#x20;
{% endhint %}

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FBE9upHvTkQCQRXNX12uD%2Fimage.png?alt=media&#x26;token=4f57fd62-6fee-4bc3-945e-39734d3ccec7" alt=""><figcaption></figcaption></figure>

### Success

You will be redirected to the Completed Order page.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F81n1L8kl6QQfU9qdkLOq%2Fimage.png?alt=media&#x26;token=e2548f78-f8cb-4e76-bd70-5b87666cd911" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If you are only testing **One-Time** sales, and you reached the Order Summary page, then your testing is complete!

You can now apply your gateway to your live campaign offers.
{% endhint %}

## Test a Rebill

If the campaign product you set up is **Recurring**, you can go to the Purchase Details page and click **Force Bill Now** to test rebilling.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FIj57958hY8XJH0ZbiHEY%2Fimage.png?alt=media&#x26;token=8ed68e10-be45-4f86-b912-c80c09351a1d" alt=""><figcaption></figcaption></figure>

Click “Yes, I’m Sure”

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FH6kBspX820ITnVoh8Rza%2Fimage.png?alt=media&#x26;token=e754dd08-452a-44b1-9583-343cafdd7632" alt=""><figcaption></figcaption></figure>

After you click “Yes, I’m Sure” a window will pop up stating that the order was successfully processed, or it will show the decline message from the gateway.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FFjpBxKb521kx3UWTTfPU%2Fimage.png?alt=media&#x26;token=5ee67b7c-3ba9-4efa-8e64-49376bb6cdcf" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If the forced rebill approved, then that means the gateway is fully tested and ready to be used inside your live campaign(s)!
{% endhint %}

{% hint style="danger" %}
If the force rebill attempt declined, view the decline message from the gateway to see if any adjustments need to be made. Please reach out to our support channel if you need assistance.
{% endhint %}
