Title: GunTab Payment Gateway
Author: GunTab
Published: <strong>21 april 2021</strong>
Last modified: 13 augustus 2026

---

Plugins zoeken

![](https://ps.w.org/guntab-payment-gateway/assets/banner-772×250.jpg?rev=2518951)

![](https://ps.w.org/guntab-payment-gateway/assets/icon-256x256.jpg?rev=2518951)

# GunTab Payment Gateway

 Door [GunTab](https://profiles.wordpress.org/guntab/)

[Download](https://downloads.wordpress.org/plugin/guntab-payment-gateway.0.5.0.zip)

 * [Details](https://nl.wordpress.org/plugins/guntab-payment-gateway/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/guntab-payment-gateway/#reviews)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/guntab-payment-gateway/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/guntab-payment-gateway/)

## Beschrijving

GunTab is the only transaction platform built for firearm and ammunition e-commerce.
It enables you get paid safely and easily online. We even guarantee against chargebacks.
Learn more at [GunTab.com](https://www.guntab.com).

### Activate the plugin in WordPress

 1. Go to Plugins > Add New.
 2. Search for “GunTab”.
 3. Select “Install Now”.
 4. After installation is complete, select “Activate”.

### Enable the plugin in WooCommerce

 1. Go to WooCommerce > Settings > Payments.
 2. Select to enable “GunTab Payments”.
 3. Select “Save changes”.
 4. After the page reloads, select to “Manage” GunTab Payments. Now you may set your
    preferences.

### Filters

Alter the invoice data before it gets sent to GunTab:

    ```
    use GunTab\Api\GunTab\Abstracts\Invoice;

    function guntabAlterInvoice(Invoice $invoice, \WC_Order $order) {
        // Your code
        return $invoice;
    }

    add_filter('guntab_alter_invoice', 'guntabAlterInvoice');
    ```

Alter the order status when the status must change due to a webhook request from
GunTab:

    ```
    function getNewOrderStatus(string $suggestedStatus, \stdClass $jsonDataFromGunTab) {
        // Your code
        return 'wc-complete'; // Choose a different WooCommerce order status based on $jsonDataFromGunTab->status
    }

    add_filter('guntab_get_new_order_status', 'getNewOrderStatus', 10, 2);<h3>Actions</h3>
    ```

Called when GunTab sends a request to your webhook endpoint. It runs after the plugin
processes the request:

    ```
    function your_function_name(\WC_Order $order, \stdClass $postedJsonData) {
        // Your code
    }

    add_action('guntab_on_webhook', 'your_function_name', 10, 2);
    ```

## Schermafbeeldingen

[⌊Plugin Settings⌉⌊Plugin Settings⌉[

Plugin Settings

[⌊WooCommerce Gateway Settings⌉⌊WooCommerce Gateway Settings⌉[

WooCommerce Gateway Settings

[⌊Checkout Module⌉⌊Checkout Module⌉[

Checkout Module

## FAQ

If you have any questions, please visit the [GunTab Help Center](https://www.guntab.com/help).

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“GunTab Payment Gateway” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ GunTab ](https://profiles.wordpress.org/guntab/)

[Vertaal “GunTab Payment Gateway” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/guntab-payment-gateway)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/guntab-payment-gateway/),
haal de [SVN repository](https://plugins.svn.wordpress.org/guntab-payment-gateway/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/guntab-payment-gateway/)
via [RSS](https://plugins.trac.wordpress.org/log/guntab-payment-gateway/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * 0.5.0

Enhancement: Use the sandbox environment for testing (instead of the live environment
with simulated-response API token). If you were using “test mode” (now called “sandbox
mode”), you must enter a “Sandbox API token” from the sandbox environment: https://
sandbox.guntab.com.

 * 0.4.0

Bugfix: Fix some orders not being updated as “processing” after payment processing.

 * 0.3.4

Bugfix: Fix “Uncaught Error: Class “Dragon\Config” not found” in some installations.

Bugfix: Fix deprecation warnings about dynamic attributes.

 * 0.3.3

Enhancement: Fix incorrect warning that “This plugin hasn’t been tested with the
latest 3 major releases of WordPress”.

 * 0.3.2

Enhancement: Update “tested up to” version to WordPress 6.7.

 * 0.3.1

Enhancement: Declare support for High-Performance Order Storage (HPOS).

 * 0.3.0

Enhancement: Add support for marketplace websites.
 Enhancement: Improve error message.

 * 0.2.1

Bugfix: Fixed invalid path.

 * 0.2.0

Enhancement: Add support for “block” checkout, so it is no longer necessary to “
Switch to classic checkout” in WooCommerce 8.3+.

 * 0.1.6

Enhancement: Error logging and error messages are now clearer and more robust, including
new error logging for failed requests to the GunTab API.

 * 0.1.5

Bugfix: Fatal error due to missing file when running on PHP8. Example: “Failed opening
required ‘…wp-content/plugins/guntab-payment-gateway/vendor/symfony/polyfill-mbstring/
bootstrap80.php’”
 Bugfix: “Add to Cart” button can lead to a 404 error page. Bugfix:“
Deprecated: Non-static method GunTab\GunTabPaymentGateway::quick_checkout_redirect()
should not be called statically”

 * 0.1.4

Bugfix: Remove more type hints in an attempt to be unofficially compatible with 
PHP 5.

 * 0.1.3

Bugfix: Although this plugin officially requires PHP 7 or higher, we have removed
type hints in an attempt to be unofficially compatible with PHP 5.

 * 0.1.2

Bugfix: Two buttons appearing for quick checkout.
 Bugfix: Settings content going
outside container. Eliminate warning about get_product_from_item().

 * 0.1.1

Bugfix: “An active PHP session was detected”.
 Bugfix: Nullable property types. 
Replace third-party framework dependency with self-managed version.

 * 0.1.0

Initial beta version.

## Meta

 *  Versie **0.5.0**
 *  Laatst geüpdatet **2 maanden geleden**
 *  Actieve installaties **30+**
 *  WordPress versie ** 4.7 of nieuwer **
 *  Getest t/m **7.1.0**
 *  PHP versie ** 7.2 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/guntab-payment-gateway/)
 * Tags
 * [checkout](https://nl.wordpress.org/plugins/tags/checkout/)[ecommerce](https://nl.wordpress.org/plugins/tags/ecommerce/)
   [firearms](https://nl.wordpress.org/plugins/tags/firearms/)[guns](https://nl.wordpress.org/plugins/tags/guns/)
   [payments](https://nl.wordpress.org/plugins/tags/payments/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/guntab-payment-gateway/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/guntab-payment-gateway/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/guntab-payment-gateway/reviews/)

## Bijdragers

 *   [ GunTab ](https://profiles.wordpress.org/guntab/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/guntab-payment-gateway/)