Smart Transaction Systems Gift Cards for WooCommerce

Description

Smart Transaction Systems Gift Cards for WooCommerce lets your store offer gift cards as products and accept them as a payment method at checkout. Gift cards are issued as a WooCommerce post type and redeemed through the Smart Transaction Systems gateway, then plugged into WooCommerce’s coupon system so the existing “Have a coupon?” field on Classic and Block Checkout accepts them without any additional block or shortcode.

Features

  • Sell gift cards as WooCommerce products.
  • Redeem gift card codes through WooCommerce’s native coupon field.
  • Works with Classic Checkout and Checkout Blocks via native coupon integration.
  • Multiple gift cards per order.
  • Balance deduction on order completion; refund-back on order refund/cancel.
  • Admin UI for creating and managing gift cards (WooCommerce → Gift Cards).
  • [rpgc_balance] shortcode so customers can check a card’s remaining balance.
  • High-Performance Order Storage (HPOS) compatible.

Third-party service: Smart Transaction Systems gateway

This plugin is an integration with the Smart Transaction Systems payment gateway and requires a Smart Transaction Systems merchant account (Merchant ID and Terminal ID). Gift card balances are stored and processed by Smart Transaction Systems, not on your site.

The plugin communicates with https://smarttransactions.net/gateway_no_lrc.php in these cases only:

  • When a gift card balance is looked up (at checkout or via the balance-check shortcode): the merchant ID, terminal ID, and the gift card number entered.
  • When an order paid with a gift card is placed: the merchant ID, terminal ID, gift card number, transaction amount, and a transaction identifier.
  • When such an order is refunded or cancelled: the merchant ID, terminal ID, authorization reference, and a transaction identifier.

No customer personal data (name, email, address, order contents) is sent to Smart Transaction Systems. No requests are made until you have entered your merchant credentials in the plugin settings. Please review the Smart Transaction Systems website for the service’s terms of service and privacy policy.

Credits

This plugin started as a fork of the GPL plugin “WooCommerce – Gift Cards” by Ryan Pletcher (WP Ronin) and has since been substantially rewritten: redemption now flows through WooCommerce’s native coupon system and the Smart Transaction Systems gateway, with Block Checkout support and security hardening.

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install it through the Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress. WooCommerce must be installed and active.
  3. Go to WooCommerce → Settings → Smart Transaction Systems Gift Cards and enter your Smart Transaction Systems Merchant ID and Terminal ID.
  4. Create gift cards from WooCommerce → Gift Cards, or mark an existing product as a gift card using the “Gift Card” product type option.
  5. Optionally add the [rpgc_balance] shortcode to a page so customers can check their balance.

FAQ

Does this work with the new Block Checkout?

Yes. Gift card codes are registered as WooCommerce coupons, so the existing coupon field on both Classic and Block Checkout accepts them. The plugin also adds a dedicated “Have a gift card?” field to both checkouts.

Do I need an account with a third-party service?

Yes. Gift card balances are processed by the Smart Transaction Systems payment gateway, so you need a Smart Transaction Systems merchant account. Without credentials the plugin makes no external requests and gift cards cannot be redeemed.

What data is sent to third-party servers?

Only what is needed to look up and debit/credit the gift card balance against the Smart Transaction Systems gateway. See the “Third-party service” section in the Description for the exact fields. No customer personal data is transmitted.

Does the plugin store any sensitive payment information?

No. Gift card numbers are stored as WooCommerce post titles. The plugin does not handle credit card data.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Smart Transaction Systems Gift Cards for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial public release on WordPress.org.
  • Gift cards now integrate with WooCommerce’s native coupon system; redemption works on Classic and Block Checkout without a custom form.
  • HPOS (custom order tables) compatibility declared.
  • Security hardening: nonce + capability checks on admin save paths, output escaping across display surfaces, cryptographically strong gift-card number generation, XML-escaped gateway requests.
  • Gateway HTTP calls migrated from raw cURL to the WordPress HTTP API with TLS verification enabled.
  • No gateway requests are made until merchant credentials are configured.
  • PHP 8.x compatibility fixes.