Jump to content

fluffels

Retired Forum Member
  • Posts

    2
  • Joined

  • Last visited

About fluffels

fluffels's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I've been developing a new product which uses a MySQL backend. I'm sure there is a possibility of using WHMCS to automatically create the user's account after they've signed up for the product/service, in a similar way to WHM, but completely automatically. On Friday I contacted the WHMCS admin bods, but they said that a dev kit wouldn't be required, rather action hooks would. There doesn't seem to be much documentation really, so I'd like some advice. So, let's say the product id is 14, I'd need to extend the actionhook_ShoppingCartCheckout($vars) function to something like the following: function actionhook_ShoppingCartCheckout($vars) { if ($vars["Products"] == "14") { // code } } Can I just call a URL via cURL or include/require (does include/require work when calling a page based on another site)? Alternatively, should I just directly run the SQL commands to create the user? Also, can I return any result to be advised of success in WHMCS, or should I just modify the create-user script to send an email out? And, finally, can I set an account suspended (and subsequently unsuspended) if payment isn't made using another hook? (It doesn't seem obvious to me). Thanks edit: forgot to mention... The product signup form can include a space for username - can this be passed to the script for the purposes of creating/suspending/unsuspending the account? I'm going to worry about duplicate usernames at some point, but if that's not possible, I'll find another way.
  2. Any changes made to Nominet domains require an email sent to them. I worked on a CMS for a large UK based registrar, and it was so silly. We bascially ended up making a form which looked the same as the one for gTLDs (.com etc), but just collected, formatted the data correctly, and emailed them the info. They've always been quick at updating, but I'm pretty sure it's still like this. In terms of gTLDs, no. Nominet is UK domains only. If you want one that does everything stay with someone like eNom. Correct me if I'm wrong
×
×
  • 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