Jump to content

checkoutscript.php


DerekFL

Recommended Posts

Is anyone else using the checkoutscript.php feature? I have created a script that does additional fraud checking on an external database and then sets the account to PENDING mode if a match is found. I was also considering using the script to assist in the setup of forum accounts (such as phpBB since the forum is a pain to create a login share for). The problem that I'm having is that the script is called directly after account creation, but before payment is rendered. That means that if I were to use it to automate the creation of forum accounts, then anyone could create a fraudulent account in WHMCS, never pay, and the forum account would be created. It also prevents me from using the script to check the external fraud database and set the account to pending because WHMCS will over-ride that once payment is received. I could use a cron-job to look for any new orders, but this puts additional stress on the server as it has to look for new accounts every x minutes, even when no new accounts exist. It would be nice (and logical) if the script got called once initial payment was received. Any ideas?

 

I'd also like to release this fraud checking script publically if and when it works with minimal server effort.

Link to comment
Share on other sites

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