When a Payment Action is Performed
Overview
This trigger allows you to start a flow when a payment action occurs on a Gravity Forms entry. The following payment events are supported:
- complete_payment
- refund_payment
- fail_payment
- add_pending_payment
- void_authorization
- create_subscription
- cancel_subscription
- expire_subscription
- add_subscription_payment
- fail_subscription_payment
- fail_create_subscription
For more information you can check the Gravity Forms documentation.
Configuration
Form ID
When you select the "When a Gravity Forms entry approval is changed (GravityView)" trigger, you will be prompted to select the form you want to trigger the flow. You can select from a list of all forms on your WordPress website.
Dynamic Content
💲 Payment Action Fields
warning
Not all fields are available for all payment actions. The fields available will depend on the payment action that triggered the flow.
You'll get everything that is provided by the Gravity Forms API.
- Payment Status
- The status of the payment action.
- Available payment statuses are defined by your individual WordPress installation. Defaults are:
- Authorized
- Paid
- Processing
- Failed
- Active
- Cancelled
- Pending
- Refunded
- Voided
- Type
- The type of payment action that was performed.
- Note
- A note for the payment action.
- Transaction Type
- The type of transaction that was performed.
- Transaction ID
- The ID of the transaction.
- Subscription ID
- The ID of the subscription.
- Amount
- The payment amount as a decimal number.
- Amount Formatted
- The payment amount formatted as a human readable string.
- Payment Method
- The payment method used.
- Payment Date
- The date and time the payment was made.
- Is Success
- Whether the payment action was successful.
Entry Fields
- Dynamic Fields
- A field for each of the fields from the form that was submitted.
- The field will be named after the field label.
- The field will contain the value that was submitted.
- All first-party fields types are supported.
- Third-party fields are not supported unless they provide a valid JSON schema to the Gravity Forms REST API.
- Entry ID
- The ID of the form entry.
- Form ID
- The ID of the form that was submitted.
- Date Created
- The date and time the form was submitted.
- Date Updated
- The date and time the form was last updated.
- Is Starred
- Whether the form entry is starred.
- Is Read
- Whether the form entry has been read.
- Ip
- The IP address of the user who submitted the form.
- Source Url
- The URL of the page where the form was submitted.
- User Agent
- The user agent of the user who submitted the form.
- Status
- The status of the form entry.
- Payment Status
- The payment status of the form entry. (if applicable)
- Payment Date
- The date and time the payment was made. (if applicable)
- Payment Amount
- The amount of the payment. (if applicable)
- Payment Method
- The payment method used. (if applicable)
- Payment Transaction ID
- The transaction ID of the payment. (if applicable)
- Created By
- The user ID of the entry submitter.
- Transaction Type
- The transaction type of the payment. (if applicable)
- Approval Status
- The approval status of the form entry. (Gravity View)