| 开发者 |
chipasia
wanzulnet |
|---|---|
| 更新时间 | 2026年9月25日 17:52 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
Brand ID and Secret Key are available through our merchant dashboard. Navigate to Developer > Credentials after logging in.
No. The plugin works with CHIP's standard webhook flow; no separate public key is required. When you save your global or form CHIP settings, the plugin stores the public key automatically (by company ID) so it can verify webhook signatures when available and use the payload directly; otherwise it falls back to fetching payment status via the API.
Visit our API documentation for technical reference.
The plugin uses Gravity Forms logging for callbacks, webhooks, and payment flow. To view these logs, enable logging in Forms → Settings (set Logging to On), then open the Logging tab to view or delete logs for CHIP for Gravity Forms. See Gravity Forms Logging and Debugging for details. Disable logging when you are done troubleshooting.
CHIP API – GF_CHIP_ROOT_URL (https://gate.chip-in.asia)
Payment operations:
POST /purchases/ – Create paymentGET /purchases/{id}/ – Get payment statusPOST /purchases/{id}/refund/ – Refund paymentPOST /purchases/{id}/cancel/ – Cancel paymentPOST /purchases/{id}/charge/ – Charge a stored recurring token (subscription renewal)POST /purchases/{id}/delete_recurring_token/ – Delete a stored recurring token (subscription cancellation or card change)Use the merge tag {entry:transaction_id} in the Payment Completion notification. See Gravity Forms Merge Tags for more information.
A refund triggered from the WordPress Dashboard (Gravity Forms → Entries) is still subject to CHIP's refund policy. A successful refund message in the dashboard only indicates that the refund request was successfully sent to the CHIP API; completion depends on CHIP's processing.
Refunds made through the Gravity Forms entry screen are full refunds only. For partial refunds, use the CHIP merchant dashboard or API.
Add the following to your wp-config.php to disable refunds from Gravity Forms:
define( 'GF_CHIP_DISABLE_REFUND_PAYMENT', true );
Supported currencies depend on your CHIP brand configuration. Commonly MYR (Malaysian Ringgit) is supported; contact CHIP for other currencies.
Ensure: (1) CHIP for Gravity Forms is activated, (2) Brand ID and Secret Key are set in Global Configuration or in the form feed, (3) the form has a CHIP feed added and enabled, and (4) the form has a product or total field so an amount is sent to CHIP.
Because CHIP's recurring tokens are issued for cards only. A subscription needs a card on file to charge later, and FPX, DuitNow QR and e-wallets do not provide one, so a Subscription feed offers cards only. One-time forms are unaffected and still support every method your CHIP brand has enabled.
An hourly scheduled task checks for due subscriptions. A renewal is charged on the date it is due, not on the date the check happens to run — so a subscription billed on the 1st stays on the 1st even if the task runs late. Renewals need no action from the customer; the stored card is charged automatically.
The renewal is retried on a ladder of 1, 3, and 5 days after the original due date. The customer is emailed a secure link where they can pay the outstanding amount and save a new card in one step. If all retries fail, the subscription is marked Expired rather than retrying indefinitely. You can also re-send the update-card link yourself: go to Forms → CHIP Subscriptions and use Send update-card link on the subscription's row.
Open Forms → CHIP Subscriptions and click Send update-card link on the subscription. The customer receives an email with a secure, single-use link. Opening it shows their subscription, the amount due if there is one, and a button to enter a new card at CHIP. Nobody types a card number in the WordPress admin — card details are entered only on CHIP's hosted page. This keeps the site out of scope for card data. If the subscription has an outstanding payment, the link collects that payment and saves the new card in one step, so the customer does not have to wait for the next scheduled attempt.
In the WordPress admin, open the entry for the subscription under Forms → Entries and use the Cancel Subscription button. Cancelling stops future charges immediately and revokes the stored card token at CHIP.
Yes. The plugin adds three notification events you can attach a notification to: Subscription Renewed, Subscription Payment Failed, and Subscription Expired. It also provides the merge tag {chip_update_card_link}, which inserts a secure card-update link for that customer. The link is generated fresh each time a notification sends, so a link that has already been used is replaced by a working one.
No. The plugin sends a built-in dunning email so recovery works with no setup, and that email steps aside as soon as you configure a notification on Subscription Payment Failed — yours is then the only one the customer receives. A notification you have switched off, or one whose conditional logic does not pass for that entry, does not count as a replacement: the built-in email still covers those customers. Re-sending the link from the admin always sends, since that is a deliberate action. When the retry ladder is exhausted the subscription is marked Expired and only that event is announced, so a notification on both Subscription Payment Failed and Subscription Expired will not double up. The built-in email is not sent at that point either — an update-card link stops working once the subscription is expired, so customers are dunned on the attempts before it instead.
Subscription charges appear in the entry's payment transactions and can be refunded like any other payment, subject to CHIP's refund policy. Refunds do not cancel the subscription — cancel it separately if you also want charges to stop.
gform_full_access rather than the granular settings capability.{chip_update_card_link} merge tag, the three subscription notification events, the plugin's filters, and the Gravity Forms hooks for changing the design, the subject or the sender.