bookmark_border$redirect_url

Description

The $redirect_url property defines the URL that a user is redirected to upon submitting the form. This value is typically the location of a payment gateway to complete payment.

If left as an empty string, the redirect URL is ignored, and the user is not redirected after submission.

Properties

Class: GFPaymentAddOn
Access: protected
Type: boolean
Defaults to: false

Usage

class ExamplePaymentAddOn extends GFPaymentAddOn {
    protected $redirect_url = 'https://gravityforms.com';
}

Location

includes/addon/class-gf-payment-addon.php

Used By

GFPaymentAddOn::entry_post_save()
GFPaymentAddOn::validation()