• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Automatically Expire Vouchers via script outside of pfsense

Scheduled Pinned Locked Moved Captive Portal
2 Posts 2 Posters 345 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dragon9981
    last edited by dragon9981 Sep 6, 2020, 1:18 AM Sep 6, 2020, 1:14 AM

    Is there a way to expire vouchers from outside the WebGUI?

    I want a voucher to be used on the day it is issued without having to create new rolls daily and uploading them to the database that prints them out. Or have to manually query the 2nd database for issued Vouchers that day then paste into the WebGUI of pfsense.

    Example: I want to eliminate a customer from making multiple small purchases a single day and only using 1 of the vouchers printed on their receipts. Then come back on another day and make no purchase and sit there for the duration of the other vouchers time.

    I want to force ALL non-used but issued vouchers to be no longer valid.

    F 1 Reply Last reply Sep 6, 2020, 12:49 PM Reply Quote 0
    • F
      free4 Rebel Alliance @dragon9981
      last edited by Sep 6, 2020, 12:49 PM

      @dragon9981 said in Automatically Expire Vouchers via script outside of pfsense:

      non-used but issued vouchers to be no longer valid.

      Well that's quite simple : just delete the vouchers roll then create it again?

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received