Coupon set to expire within x minutes of popup activated

Has anyone any idea how to implement a popup which displays a dynamic coupon code which expires if not used within x minutes?

Hey Paul,

You can try the following addons to create coupon codes dynamically.

You’ll have to use some custom code or get in touch with Gravity Wiz support so they can help you.

Example code with expiration date:

new GW_Create_Coupon( array(
    'form_id'         => 608,
    'source_field_id' => 1,
    'plugin'          => 'gf',
    'amount'          => 15,
    'type'            => 'flat',
    'meta'            => array(
    'form_id'         => 620,
        'coupon_stackable'  => true,
        'coupon_limit'      => 10,
        'coupon_expiration' => '12/31/2015'
    )
) );

Thank you Faisal, I will look into your suggestion.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.