Jump to content

sonuyos

Senior Member
  • Content count

    80
  • Joined

  • Last visited

Everything posted by sonuyos

  1. Actually i wanted to put something right next to the the individual items? - https://prnt.sc/qrl9vv That would be like, clicking on it and then it will open the service it is related to, like how in service id we have option to view invoices, similar but opposite.
  2. hey guys, I am to redirect my cart.php or make it inaccessible, so that wenever someone order it will be done thru my main website instead been able to do from cart.php I have created a new plugin and my cart.php is whole jumbled up and confusining, I don't want them to see, so wenever someone comes to my site they can order from my website page wihc has cart.php?XXXX setup (normal setup) and they order it...please help!! Thank you
  3. I second this as well. Want to know about recurring payments and existing clients without SCA. Also i would really love if there was a way to have 3Ds on recurring payment as well.
  4. No no, i wanna move to official one only, want to know if any changes need to be done.
  5. I have a question, right now i am using roudiapps 3ds stripe plugin, how would i be affected? Also does this plugin have auto charge too under 3ds?
  6. Can I just take stripe from this and upload it to my current installation?
  7. What all things need to be updated in checkout and order form for it?
  8. I needed a plugin that would help me with this, I have a huge client loss (acc to funnel), during registration, could be because of the lengthy list of details required. I wanted a way, that the user only registers using email & pass, and then after payment is done, redirected to order confirmation page, all good till now, but then the whole WHMCS gets lock down till registrations is completed, ie address, and all other details.. I can probably edit the cart - reg page and remove all the details except email and pass, but am having 2 troubles. 1 - How to let WHMCS accept only email and pass on registration 2 - How to lock down WHMCS in Account page, until they enter all their details, such as address.
  9. sonuyos

    Registration after Payment and order?

    With that, the problem is how would it differentiate between the clients who did register or not. I was thinking to setup the hook with the first code you provided and replace it with SENDMAIL API, but i cannot set it up on random timing.
  10. sonuyos

    Registration after Payment and order?

    Problem is gonna be that it is just gonna keep sending mails till they do it, every hour, so i guess doing it once a day would be better option.
  11. sonuyos

    Registration after Payment and order?

    I am already looking into SendEmail API 🙂
  12. sonuyos

    Registration after Payment and order?

    Oh well, i just did something else. I just let it be blocked. And now trying to setup a hook that would send mail to users to remind them to complete registration 1 hour after registration. Wonder if it is possible. Anyways, thanks for your help mate, you are as usuz the best <3.
  13. sonuyos

    Registration after Payment and order?

    Ok, i dont know, but it works now. LOL. <?php # Force Client Details Completion v1.1 # Written by brian! function force_client_details_completion_hook($vars) { $client = Menu::context('client'); $requiredfields = array($client->address1,$client->city,$client->postcode,$client->state,$client->country,$client->phonenumber); $validpages = array("clientareadetails","supporttickets","viewinvoice","clientareainvoices","submitticket"); if ($client && !in_array($vars['templatefile'],$validpages) && in_array("", $requiredfields)) { header("Location: clientarea.php?action=details&status=incomplete"); exit; } } add_hook("ClientAreaPage", 1, "force_client_details_completion_hook"); HOWEVER. supporttickets & submitticket doesnt not work. I thnk cuz of vars for templatefile? Now here is the freaky stuff, viewinvoice works fine for some reason.
  14. sonuyos

    Registration after Payment and order?

    Even with FRR or Basic, it doesn't work. I think there is some problem here - !in_array($vars['templatefile'],$validpages) I think that vars is wrong for me i think.
  15. sonuyos

    Registration after Payment and order?

    No, No, redirection happens when i try to substitute the $validpages parameters in the prvious code, Ifjust putting the code in as you gave, that simply doesn't do anything at all. Tested in 7.7.1 with SIX too.
  16. sonuyos

    Registration after Payment and order?

    It indeed is, Brian? more like Brain :v
  17. sonuyos

    Registration after Payment and order?

    Nah mate, it straight right doesn't work. I tried to just update pages in $validpages too, still wouldn't work, would just stuck at redirection.
  18. sonuyos

    Registration after Payment and order?

    Brian, the solution you gave works, but i do not want the user to be able to access clientarea at all, except invoice and the details page, and to use the method you provided would give access to the whole site, and if i remove clientarea, it will stuck in redirection loop.
  19. sonuyos

    Registration after Payment and order?

    As usual, you are the best, but i have figured a better option 😛 {if $smarty.get.status eq incomplete} {include file="$template/includes/alert.tpl" type="info" msg="Please fill the form to continue with our services."} {else} {/if} After locking them to the place where they have to add registration, i am just gonna add 1 parameter on the url i.e. status=incomplete. And till they fix it out, that parameter they gonna see on that page, i am yet to look into the invoice, but i think it should work there as well. I think i have to unlock 2 pages, invoice, and cart complete page.
  20. sonuyos

    Registration after Payment and order?

    Brian, you mah man, you are genius. And your script works flawlessly except for 1 problem. Once the user registers, instead of going to the invoice the user gets locked right away in the My details area, rendering everything quite uselss 😕 I am trying to find a solution for this.
  21. sonuyos

    Registration after Payment and order?

    Alright i tested the hook i created and the one you created, both aint working. Weird.
  22. sonuyos

    Registration after Payment and order?

    <?php # Force Security Questions Hook # Written by brian!-The Lord function force_security_questions_hook($vars) { $client = Menu::context('client'); $address1 = $client->address1; if ($client && $vars['templatefile'] != "clientareaaddress1" && $address1===0) { header("Location: clientarea.php?action=details"); exit; } } add_hook("ClientAreaPage", 1, "force_security_questions_hook"); Something like that @brian!? Also this is for like 1 variable, any tip on adding multiple variables?
×

Important Information

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