Skip to content

Repository files navigation

CHIP Logo

WordPress Plugin Check

CHIP for Gravity Forms

The official CHIP payment add-on for Gravity Forms. Accept payments seamlessly with Malaysia's leading payment methods including FPX, credit/debit cards, DuitNow QR, and e-wallets — for one-time payments and recurring subscriptions.

Features

  • Native Gravity Forms integration - Add CHIP as a payment feed to any form
  • Global and form-specific settings - Set Brand ID and Secret Key once globally or override per form
  • Multiple payment methods - FPX, Credit/Debit Cards, DuitNow QR, E-Wallets, and more via CHIP hosted checkout
  • Client data mapping - Map form fields to CHIP client metadata (e.g. legal_name, address, country)
  • Subscriptions - Sell recurring plans with a recurring amount, billing cycle, optional trial, setup fee, and a limited number of installments
  • Automatic renewals - CHIP charges the stored card on schedule; renewals run with no customer present
  • Recovery and dunning - A failed renewal is retried on a 1, 3, and 5 day ladder, the customer is emailed a secure link to pay and update their card, and you can re-send that link from the admin
  • Subscriptions list - See every subscription, its status, next payment date and retry count in one admin page
  • Refund from entries - Process full refunds from Gravity Forms → Entries when enabled in settings
  • Webhook support - Reliable payment status updates via CHIP webhooks

Subscriptions are card-only. CHIP's recurring tokens can only be issued for card payments, so a form feed set to the Subscription transaction type offers cards only. FPX, DuitNow QR and e-wallets remain available on one-time forms.

Requirements

  • WordPress 6.3 or greater
  • Gravity Forms plugin (active), tested up to 3.1
  • PHP 7.4 or greater (PHP 8.0+ recommended)

Installation

  1. Download the latest release
  2. Log in to your WordPress admin panel and navigate to Plugins → Add New
  3. Click Upload Plugin, select the downloaded zip file, and click Install Now
  4. Activate the plugin

Configuration

Global configuration

  1. Navigate to Forms → Settings → CHIP
  2. Enter your Brand ID and Secret Key
  3. Optionally enable refund and set due timing; save changes

Form-specific configuration

  1. Edit your form and go to Form Settings → CHIP
  2. Add a new feed and enter Brand ID / Secret Key (or leave blank to use global settings)
  3. Map amount, currency, and optional client fields; enable the feed and save

Refund

Refunds made through the WordPress Dashboard (Gravity Forms → Entries) are full refunds only. A successful refund message means the request was sent to the CHIP API; completion depends on CHIP's refund policy.

Development

Plugin check: To check plugin compliance locally before committing, run one of the following:

# Using Docker (recommended)
sudo docker compose run --rm plugin-check ./scripts/run-plugin-check.sh

# Or without Docker
./scripts/run-wp-plugin-check.sh

Unit tests: After composer install, run PHPUnit:

composer install
./vendor/bin/phpunit

Customising emails

See docs/email-customization.md for the merge tag, the available filters, and the Gravity Forms hooks for changing the design of subscription notifications.

Documentation

Community

Join our Merchants & Developers Community on Facebook for support and discussions.

License

This plugin is licensed under the GPLv3.

About

CHIP for Gravity Forms Plugin

Topics

Resources

Contributing

Stars

0 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages