How To: Test Payment Gateway
Module: Payment Data
Path: Campaigns > Payment Data > Payment Proc Accounts
Topic: How To: Test Payment Gateway
Version(s): 5.1 and up
Editions: All
How To: Test Payment Gateway
Some of the most important testing you will do in your system is testing changes to your payment gateway or testing a new payment gateway. This article will walk you through basic steps for testing your payment gateway. Please keep in mind that you may have specific test scenario's that are not covered in the following steps. Discuss with a programmer if you have questions or concerns for any special testing needed for your situation.
Prerequisite:
Setup demo/sandbox account for payment gateway.
- Setup payment processing account on OLX
- Use Username and Password from demo/sandbox account
- Make sure Environment ID = Test

- Double check Script being used to make sure the Payment Processor being tested is enabled under the Payment Tab
- Make note of the different Payment methods allowed on the script
- add any new payment methods if needed
Test:
Pre-Auth
Objective: Obtain a valid pre-authorization
- Enter test orders using the different payment methods (noted in Prerequisite step 3) to be tested (ex: Visa, Discover, Master, American Express, Telecheck, Check, Invoice, COD, Money Order, and/or Gift card)
- You should receive a pop-up letting you know transaction is approved
- Complete order
- Navigate to gateway
- find transaction
- Authorize.net
- Invoice Number = OLX Web Order Number
- Trans ID = OLX Authorization Code
- Braintree
- ID = OLX Authorization Code first parameter only
- Processor Authorization Code = OLX Authorization Code second parameter only
- NMI
- ID = OLX Authorization Code
- Additional Information Order ID = OLX Web Order Number
- Stripe
- Payment ID = OLX Authorization Code
- Customer = OLX customer email
- Tokens typically follow the format below:
- Customer Vault ID, Billing ID, cc last4
- confirm amount
- confirm any custom data points
Settle
Objective: Settle a pre-auth
IF item is being held for review you will have to complete CS Event before you can move forward
Many gateways only capture once a day. Will have to check back the next day to verify against payment gateway
- Processing > Payment Processing > Create Sales tile
- Client = client used on order
- Account = Payment Process Account being tested
- Override Constraints - may need to be checked if testing a new gateway
- Mode = Settle Only
- Click Load
- Select the Product Group to create batch for
- Click Create Batch

- Processing > Payment Processing
- Select batch created in previous step
- Click on Process Batch and wait for job to run
- You should see Job ran successfully and results of successful job

- Navigate to gateway
- find transaction
- Authorize.net
- Invoice Number = OLX Web Order Number
- Trans ID = OLX Authorization Code
- Braintree
- ID = OLX Authorization Code first parameter only
- Processor Authorization Code = OLX Authorization Code second parameter only
- NMI
- ID = OLX Authorization Code
- Additional Information Order ID = OLX Web Order Number
- Stripe
- Payment ID = OLX Authorization Code
- Customer = OLX customer email
- Tokens typically follow the format below:
- Customer Vault ID, Billing ID, cc last4
- confirm amount
- confirm any custom data points
Auth & Settle
Objectives: Authorize & Settle a transaction
- If needed, add another item to order and get into Item Pay Ready status
- Select Process from CS actions above the line items
- Once the CSR_SinglePaymentPopup is displayed
- Set Mode to Sale
- Select the Payment Processing Account you are testing
- if line item does not display you may need to check Override Acct/Campaign/Product Group constraints
- Select the item you just put into Item Pay Ready status
- Click on Process Payment
- This is going to Auth & Settle that specific line item

- Navigate to gateway
- find transaction
- Authorize.net
- Invoice Number = OLX Web Order Number
- Trans ID = OLX Authorization Code
- Braintree
- ID = OLX Authorization Code first parameter only
- Processor Authorization Code = OLX Authorization Code second parameter only
- NMI
- ID = OLX Authorization Code
- Additional Information Order ID = OLX Web Order Number
- Stripe
- Payment ID = OLX Authorization Code
- Customer = OLX customer email
- Tokens typically follow the format below:
- Customer Vault ID, Billing ID, cc last4
- confirm amount
- confirm any custom data points
Void
Objective: Void authorization on gateway
Void removes the pending transaction from the credit card account. Cancel sets the transaction to inactive within OrderLogix. Cancel should only be used if the authorization has already been captured against on another line item or authorization has expired.
- Find item that has only been pre-auth'd
- Click on Item Status in order to bring up the Transaction Details popup
- Click on Void

- Void Authorization popup will display - click Void Auth
- Would you like to void this authorization, cancel this authorization, or exit without performing any action?


- Navigate to gateway
- find transaction
- Authorize.net
- Invoice Number = OLX Web Order Number
- Trans ID = OLX Authorization Code
- Braintree
- ID = OLX Authorization Code first parameter only
- Processor Authorization Code = OLX Authorization Code second parameter only
- NMI
- ID = OLX Authorization Code
- Additional Information Order ID = OLX Web Order Number
- Stripe
- Payment ID = OLX Authorization Code
- Customer = OLX customer email
- Tokens typically follow the format below:
- Customer Vault ID, Billing ID, cc last4
- confirm status
- confirm any custom data points
Refund
Objective: Return money back to customer
Refunds performed within 24 hours of capture will VOID the full transaction. Refunds performed after 24 hours of capture will allow transaction to capture THEN refund value being returned to customer. Partial refunds cannot be performed within 24 hours of payment capture. You must wait until the next day.
- Navigate to paid order that used same gateway account you are testing
- Click on Refund action button above line items
- Select Refund Type
- RMA - product is being returned
- Credit - product is not being returned
- set Process with = Same as Debit Account
- Select line item under Process column
- Set value in following columns for each selected line item:
- QTY
- Price
- S&H
- Tax
- Select reason
- Click Save

- Line item will create in red

- Click on Process action button above line items
- Select line in red
- Set mode = Sale
- Set Pay Proc Acct = account you are testing
- click on Process Payment

- Navigate to gateway
- find transaction
- Authorize.net
- Invoice Number = OLX Web Order Number
- Trans ID = OLX Authorization Code
- Braintree
- ID = OLX Authorization Code first parameter only
- Processor Authorization Code = OLX Authorization Code second parameter only
- NMI
- ID = OLX Authorization Code
- Additional Information Order ID = OLX Web Order Number
- Stripe
- Payment ID = OLX Authorization Code
- Customer = OLX customer email
- Tokens typically follow the format below:
- Customer Vault ID, Billing ID, cc last4
- confirm status
- confirm any custom data points
Copyright 2020
Revised 7.08.2025
Related Articles
Stripe - Payment Processing Account Token Generation
Module: Payment Processing Account Topic: Stripe Payment Processing Account Token Generation Version(s): Version 5.1 Editions: All Editions What Is Stripe Stripe is a payment gateway that processes the various credit cards and tokenization. What Is ...
Braintree - Payment Processing Account Token Generation
Module: Braintree Payment Processing Account Token Generation Topic: Braintree Payment Processing Account Token Generation Version(s): Version 5.0 Editions: All Editions What Is Braintree A Braintree is a payment gateway that processes the various ...
NMI - Payment Processing Account With Tokenization
Module: Payment Processing Account Topic: NMI Payment Processing Account with Tokenization Version(s): Version 5.1 & up Editions: All Editions Tokenizing Your Payments The Payment Processing Account Token Generation feature is optional. This feature ...
Process Payment Batches
Module: Process Payment Batches Path: Processing > Processing > Payment Processing Topic: Process Payment Batches Version(s): 5.1 & up Editions: All What is Payment Batch Processing? Payment Batch Processing is when you send a created payment batch ...
Mercado Pago Payment Processor
Module: Payment Processor Topic: Mercado Pago Payment Processor Version(s): All Editions: All What is Mercado Pago Mercado Pago is a payment gateway. Mercado Pago is more complex than some of the other payment gateways you may have used in the past ...