plugin-icon

GunTab Payment Gateway

제작자: GunTab·
GunTab is "the PayPal for guns". This free plugin adds a "Pay with GunTab" button to your WooCommerce checkout page.
버전
0.3.3
활성화된 설치 항목
20
최근 업데이트일
Mar 17, 2025
GunTab Payment Gateway

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.

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);
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.7.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.