Skildring
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.jsloads the Glin Checkout SDK in the shopper browser when Glin is available at checkout.https://pay.glin.com.bris used by the WordPress server in Live mode.https://pay.staging.glin.com.bris 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
Installasjon
- Install and activate WooCommerce.
- Install this plugin from Plugins > Add New, or upload the plugin ZIP from Plugins > Add New > Upload Plugin.
- Activate Glin Payments for WooCommerce.
- Open WooCommerce > Settings > Payments.
- Enable Glin.
- Choose Sandbox or Live mode.
- Enter the matching Glin API key and public checkout key.
- 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.
Vanlege spm.
-
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.
Omtalar
There are no reviews for this plugin.
Bidragsytarar og utviklarar
“Glin Payments for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsOmset “Glin Payments for WooCommerce” til ditt eige språk.
Interested in development?
Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.
Endringslogg
0.1.5
- Log sanitized Glin API failure context to WooCommerce logs when debug logging is
enabled. - Include request method, endpoint path, status code, safe remittance fields, and
boolean presence checks for sensitive customer, address, and card payload fields. - Keep card tokens, device fingerprints, CPF/CNPJ, email, phone, and full address
values out of plugin logs.
0.1.4
- Validate WooCommerce order totals against the Glin merchant API amount range before
initializing checkout. - Replace raw API validation text with a shopper-safe order amount message.
0.1.3
- Verify the webhook JWS over the raw request body, as required by the unencoded
detached payload form (RFC 7797). Earlier versions base64url-encoded the body first
and rejected every valid signature. - Check the protected header claims before trusting a webhook:
algis RS256,b64is
false,audmatches the integration account, andkidnames a key in Glin’s JWKS. - Send the API key as a Bearer token when fetching the JWKS, which that endpoint requires.
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.