
Nick A
Member-
Content Count
16 -
Joined
-
Last visited
-
Same here. 7.9.2
-
We're running it on 7.9.2. They replied to my most recent ticket the other day quickly, but I do have a few from months ago they left unanswered. It is a bit frustrating they haven't resolved the conflicts with WHMCS's built-in Stripe module (maybe both sides could do more to fix it?) and the Manage PayPal Agreement page is now useless.
-
Just curious - what is your Friendly URLs setting? Do you see the same error if you change it to "Friendly index.php" ?
-
<?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); function nodupepids($vars) { $nodupepids = array('<product ID>'); foreach ($_SESSION['cart']['products'] as $key => $value) { if (in_array($value[pid], $pidsfound)) { header('Location: cart.php?a=remove&r=p&i=' . $key); } if (in_array($value[pid], $nodupepids)) { $pidsfound[] = $value[pid]; } } } add_hook("PreCalculateCartTotals", 1, "nodupepids");
-
Tried the marketplace module. It won't let an existing customer checkout with a second product XYZ if they already have one on their account, but it doesn't prevent someone from ordering 2 x product XYZ initially. I'm assuming a hook could handle the other half the equation: "prevent adding more than 1 XYZ per cart" ? Edit: never mind - we figured out a hook to silently block adding multiple of XYZ to the cart. Works well in combination with the paid add-on.
-
I've been searching for a solution for a while, but most of the threads about this topic seem outdated. What would be the best way to prevent customers from ordering more than one of product XYZ? If they're a new customer/not logged in, I'd like to prevent them from adding more than one XYZ to the cart. If they're an existing customer, I'd like to prevent them from ordering another XYZ if one is already on their account. Does anyone have a similar v7 compatible hook for this already?
-
Thank you!
-
Doesn't seem to be working for me for some reason. Tried it for AfterShoppingCartCheckout and ShoppingCartCheckoutCompletePage as well.
-
Or rather, skip the order complete page if they were not invoiced (ordered a free product) and were not marked fraud.
-
What's the best way to accomplish this if they added only a specific product to the cart? And how would you skip the Order Complete page if they checked out with only that specific (free) product? Just want to direct them to clientarea.php instead.
-
Thanks! Ironically, WHMCS support told me they couldn't help and to create one myself... Think I'll let them know about their own solution.
-
WHMCS removed the Cancellation Request option for Free products. I'm trying to restore it to the PrimarySidebar with a hook. I'm stuck trying to get the serviceID for the setURI line. Could someone point me in the right direction? <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $primarySidebar->getChild('Service Details Actions') ->getChild('Cancel') ->setLabel('Request Cancellation') ->setUri('/clientarea.php?action=cancel&id=?????'); });
-
We would like this option.
-
paypal turning off sslv3 support due to POODLE
Nick A replied to merlinpa1969's topic in Using WHMCS
We have also had IPN issues over the past few days after disabling SSLv3. However, it seems to only be affecting Asian clients -
Upgraded to 5.2.13 - now search box doesn't work in top right corner
Nick A replied to sahostking's topic in Using WHMCS
Is the delete button in the right place for you?