Jump to content

Pull last 4 ,card type, and expiration from Quantum Vault via cron


RandallKent

Recommended Posts

Hi All,

 

This is an extension of the script posted at http://forum.whmcs.com/showthread.php?t=27399 with the goal of being able to update all clients via cron.

 

Features

* Updates WHMCS with last 4 digits from Quantum Vault

* Updates WHMCS with card type from Quantum Vault

* Updates WHMCS with standardized expiration date from Quantum Vault

* Support for calls to WHMCS API over http as well as https

* Updates ALL clients that have a gatewayid set

* Can be called via web browser or cron

 

THANKS: Rick Manwell for the basic how to post to Quantum Gateway using CURL code

WHMCS API documentation

 

Usage

1. Configure MySQL and WHMCS Variables

2. Upload this script

3. Call the script via a web browser or cron job

 

This script comes as is with no warranty, use at your own risk. Create a backup before running!

 

Find the script useful? Consider donating here

 

Enjoy :)

 

 

-Randall

quantum-cron.zip

Edited by RandallKent
Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated