Glin Payments for WooCommerce

Description

Glin Payments for WooCommerce adds Glin as a WooCommerce payment gateway. It lets Brazilian shoppers pay in BRL using card or PIX while the WooCommerce order remains in the merchant settlement currency supported by Glin.

The plugin loads the official Glin Checkout SDK automatically, sends tokenized payment data from WordPress to Glin with the merchant API key, and reconciles final order state through signed Glin webhooks. Merchants do not need to configure a custom SDK URL.

Main capabilities:

  • Card and PIX checkout support.
  • Classic checkout and WooCommerce Checkout Blocks support.
  • Automatic Glin remittance reservation during checkout.
  • Automatic webhook registration when gateway settings are saved.
  • Short card status polling so fast declines can keep shoppers on checkout.
  • Order-received polling and bounded WordPress cron reconciliation as webhook fallbacks.

Requirements:

  • WooCommerce 7.8 or newer.
  • A Glin merchant account.
  • Glin API and public checkout keys for sandbox or live mode.
  • A WooCommerce store currency supported by Glin.
  • Public HTTPS store URL for automatic webhook registration.

External services

This plugin connects to Glin services to process payments and keep WooCommerce orders synchronized with Glin payment status.

Service provider: Glin Brasil Servicos Digitais LTDA and Glin, INC.

Service endpoints used by the plugin:

  • https://sdk.glin.com.br/v1/glin-checkout.js loads the Glin Checkout SDK in the shopper browser when Glin is available at checkout.
  • https://pay.glin.com.br is used by the WordPress server in Live mode.
  • https://pay.staging.glin.com.br is used by the WordPress server in Sandbox mode.

Data sent to Glin and when it is sent:

  • When checkout is prepared, the plugin sends the WooCommerce cart amount, currency, generated checkout reference, success URL, and cancel URL so Glin can create or reuse a remittance.
  • When the shopper submits payment, the plugin sends the Glin remittance ID, selected payment method, tokenized card data or PIX request data, installments when applicable, billing name, email, phone, CPF/CNPJ, and billing address so Glin can process the payment.
  • When payment status is checked, the plugin sends the Glin remittance ID and public checkout key so Glin can return the current payment status.
  • When gateway settings are saved and the store URL is public HTTPS, the plugin sends the WooCommerce webhook URL and subscribed event types so Glin can deliver payment status updates to the store.
  • Glin sends signed webhook events back to the WooCommerce store webhook URL when a remittance is paid, canceled, expired, delivered, or disbursed.

Terms of service: https://www.glin.com.br/legal/terms

General platform terms: https://www.glin.com.br/legal/general-terms

Privacy policy: https://www.glin.com.br/legal/privacy

Installation

  1. Install and activate WooCommerce.
  2. Install this plugin from Plugins > Add New, or upload the plugin ZIP from Plugins > Add New > Upload Plugin.
  3. Activate Glin Payments for WooCommerce.
  4. Open WooCommerce > Settings > Payments.
  5. Enable Glin.
  6. Choose Sandbox or Live mode.
  7. Enter the matching Glin API key and public checkout key.
  8. Choose the payment methods to expose, then save settings.

After settings are saved, the plugin attempts to register the store webhook with Glin. Local HTTP stores can still test checkout flows, but webhook registration requires a public HTTPS URL.

FAQ

Can this plugin be used without WooCommerce?

No. This is a WooCommerce payment gateway. WordPress can install the plugin, but checkout functionality requires WooCommerce to be installed and active.

Does the merchant need to configure an SDK URL?

No. The plugin uses Glin’s configured Checkout SDK URL internally.

Does the plugin support sandbox testing?

Yes. Merchants can choose Sandbox mode and enter sandbox API/public checkout keys.

How do webhooks work?

When gateway settings are saved, the plugin attempts to register the WooCommerce store webhook URL with Glin. Glin sends signed payment/remittance events to that URL. The plugin verifies the signature, finds the WooCommerce order by stored Glin identifiers, and updates the order status idempotently.

What happens if a webhook is delayed?

The plugin also polls pending order-received pages and schedules bounded WordPress cron reconciliation for orders left waiting.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Glin Payments for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.1.2

  • Remove screenshot captions until matching WordPress.org screenshot assets are available.

0.1.1

  • Initial pilot release of the Glin WooCommerce gateway.