Skip to Content
Account
Enter the email address on your account.
Forgot Your Username?
Enter your password.
Forgot Your Password?

Or continue with

J2Commerce 6

Test Payment

4 Min Read

Documentation current for Test Payment v6.0.5. Last checked November 14, 2026.

On This Page

Test Payment adds a payment method that completes checkout without contacting a payment processor. Use it on development and staging stores to test the order flow, emails and confirmation page.

Do not enable it on a live store. Anyone who selects it can place an order without paying.

Requirements

  • Joomla 6.0.0 or later.
  • J2Commerce 6.6.4 or later, installed and enabled.

Installation

  1. Go to System -> Install -> Extensions.
  2. Upload the Test Payment package.
  3. Go to System -> Plugins and search for Test Payment Gateway.
  4. Open the plugin, set the options below and set Status to Enabled.
  5. Save the plugin.

Warning

Use this plugin only on development sites. Disable it before the store goes live.


Settings

SettingWhat It DoesDefaultOptions
Display NameName shown to the customer at checkout.Test Payment GatewayText
Display ImageImage shown next to the payment method.EmptyMedia picker
Surcharge NameLabel of the fee line added to the order.Empty (the core surcharge label is used)Text
Surcharge PercentPercentage fee. It is calculated on subtotal plus shipping and shipping tax.EmptyNumber
Surcharge FixedFixed fee added to the order. It is added to the percentage fee if both are set.EmptyNumber
Surcharge Tax ClassTax profile applied to the surcharge. The surcharge is not taxed when none is chosen.EmptyTax profiles
Minimum SubtotalSmallest order subtotal that can use this method.0.0000 for no minimum
Maximum SubtotalLargest order subtotal that can use this method.-1.00-1 for no maximum
Order StatusStatus the order gets after a test payment when no other status is chosen at checkout.4Order statuses
Geozone RestrictionLimits the method to customers whose billing address is in the geozone.Empty (no restriction)Geozones
Support SubscriptionAllows the method for subscription products.YesYes, No
Thanks MessageArticle shown on the confirmation page.EmptyArticle picker
On Selection TextText shown when the customer selects the method.EmptyText
On Before Payment TextText shown above the payment button.EmptyText
On After Payment TextText shown after the payment is processed.EmptyText
On Error Payment TextMessage shown when the payment fails.EmptyText
Button TextLabel of the checkout button.Place OrderText
SubtemplateLayout set used for the checkout forms.Empty (follows the checkout menu item framework)bootstrap5, uikit

Checkout Behavior

At the payment step the customer sees a Final Order Status (test) list. It holds every enabled order status and starts on Confirmed.

Choose a status and click the button to finish the order with that status. Use this to preview the confirmation page, emails and notifications for each outcome.

If Confirmed is not enabled, the list starts on the first enabled status.


Common Setups

Test a Failed Order

  1. Add a product to the cart and go to checkout.
  2. Select the test payment method.
  3. In Final Order Status (test), choose the status to test.
  4. Click the checkout button and review the confirmation page and order history.

Test Payment Surcharges

Set Surcharge Name and a percent or fixed amount. Select the method at checkout and check the fee line in the order totals.


Troubleshooting

The Method Does Not Appear at Checkout

Check that the plugin is enabled. Check that the order subtotal is inside Minimum Subtotal and Maximum Subtotal, and that the billing address is in the Geozone Restriction.

Installation Is Refused

The message "J2Commerce component must be installed and enabled before installing this plugin." means J2Commerce is missing or disabled. The message "You are using an old version of J2Commerce. Please upgrade to 6.6.4 or later." means J2Commerce must be updated first.

Payment Shows an Error

"An error occurred processing your test payment. Please contact support." appears when the order cannot be found or its status cannot be updated. "Invalid test payment request." appears when the order was not placed with this method or the security hash does not match. Restart checkout and try again.


Uninstalling

  1. Go to System -> Manage -> Extensions.
  2. Search for Test Payment Gateway.
  3. Select the plugin and click Uninstall.

Related Products

Related Products

Still stuck? Our team can help.

Back to Top