Jump to content

Craft

Members
  • Content count

    76
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Craft

  • Rank
    Member
  1. Did you use DNS Cluster?
  2. I have 3 servers, Which option is better to configure my nameservers for each server? Option 1: VPS 1 >> ns1.s1.domain.com & ns2.s1.domain.com >> 1st server IP VPS 2 >> ns1.s2.domain.com & ns2.s2.domain.com >> 2nd server IP VPS 3 >> ns1.s3.domain.com & ns2.s3.domain.com >> 3rd server IP Option 2: Can I set (ns1.domain.com & ns2.domain.com) for all the servers? If yes, then how can I set the DNS for the 3 server's IPs using the same (ns1 & ns2)?
  3. Craft

    Auto Accept Order

    I’m sorry but it’s something strange. ”Order Accepted” module doesn’t appear at the activity log! @brian! any suggestion? 🙂
  4. Craft

    Auto Accept Order

    It should work whatever you are paying with (credit loaded on the account) or (Paypal) or (ZERO amount with promo code). After you make the order via client area, do you see it still pending at your admin area? Try to share a screenshot for the activity log after you make the order, maybe something else is doing this issue. From (Utilities >> Logs >> Activity Log)
  5. Craft

    Auto Accept Order

    Yea, you should add a username of an admin account (Check the attached screenshot) And set all to "true" as mentioned below: function AutoAcceptOrders_settings() { return array( 'apiuser' => 'admin', // one of the admins username 'autosetup' => true, // determines whether product provisioning is performed 'sendregistrar' => true, // determines whether domain automation is performed 'sendemail' => true, // sets if welcome emails for products and registration confirmation emails for domains should be sent 'ispaid' => true, // set to true if you want to accept only paid orders ); } Do you know where you should add this file? here: (includes/hooks) Also you should do the following options: General Settings >> Ordering >> Only Auto Provision for Existing (Uncheck it)Products/Services >> Module Settings >> Auto setup as soon as first payment is received (Select it) Good Luck ^^
  6. @brian! What is the problem when eNom is now owned by Tucows and two brands will merge under one name? I know that direct business is better than being a sub-reseller for a registrar. Would you mind to share us with your experience with the registrars? If we need a registrar to start our business with. At the same time, this registrar should support at the features, so I found these registrars https://docs.whmcs.com/NetEarthOne https://docs.whmcs.com/Stargate https://docs.whmcs.com/HexoNet https://docs.whmcs.com/ResellerCamp
  7. Hi @brian! Do you mean that you don't prefer to use eNom? and why?
  8. Craft

    Auto Accept Order

    @VanguardOne Yea sure, the new code is here: https://github.com/Jetserver/WHMCS-Auto-Accept-Orders/issues/1#issuecomment-412626577 I tested it and it's working fine for WHMCS 7.7 here you are the code again function AutoAcceptOrders_settings() { return array( 'apiuser' => '', // one of the admins username 'autosetup' => true, // determines whether product provisioning is performed 'sendregistrar' => false, // determines whether domain automation is performed 'sendemail' => true, // sets if welcome emails for products and registration confirmation emails for domains should be sent 'ispaid' => true, // set to true if you want to accept only paid orders ); } function AutoAcceptOrders_accept($vars) { $settings = AutoAcceptOrders_settings(); $ispaid = true; if($vars['InvoiceID']) { $result = localAPI('GetInvoice', array( 'invoiceid' => $vars['invoiceId'], ), $settings['apiuser']); $ispaid = ($result['result'] == 'success' && $result['balance'] <= 0) ? true : false; } logActivity("Order isPaid: ".$ispaid,0); if(( $settings['ispaid'] && $ispaid)) { $result = localAPI('AcceptOrder', array( 'orderid' => $vars['orderId'], 'autosetup' => $settings['autosetup'], 'sendemail' => $settings['sendemail'], ), $settings['apiuser']); logActivity("Order Accept", 0); if(is_array($result)){ foreach($result as $index=>$value){ logActivity("$index:$value",0); } } } } add_hook('OrderPaid', 1, 'AutoAcceptOrders_accept');
  9. Craft

    Auto Accept Order

    @brian! I solved it. The old github php file is really not compatible with the new version of WHMCS 7.7 So I used the modified code at the link you sent me and now it's working fine, thank you :) https://github.com/Jetserver/WHMCS-Auto-Accept-Orders/issues/1#issuecomment-412626577
  10. Craft

    Auto Accept Order

    I did all the steps exactly as your mentioned old thread but it's not working. Maybe the php file is not compatible any more with php 7.0
  11. Craft

    Auto Accept Order

    @brian! Yea I'm using php 7.0 But I couldn't change to php 5.6 as WHMCS won't work :) So what we should do now? :) How can we make this file (jetserver_AutoAcceptOrders.php) compatible with php 7.0? Is there an alternative solution?
  12. Craft

    Auto Accept Order

    Hi I would like to auto accept any order on payment, so I did the following: General Settings >> Ordering >> Auto Provision Products/Services >> Module Settings >> Auto setup as soon as first payment is received I added this hook (jetserver_AutoAcceptOrders.php) and I set everything to true (Check the screenshot) When I Pay using (promo code with amount ZERO) or (amount $$ but paid from my account balance), I see the hosting is setup successfully, the order is accepted and status is Active. But when I pay using Paypal, I see the hosting is setup successfully and order status is Pending. (Order Accepted is not mentioned at the Activity log).
  13. Craft

    Transferring Domain

    @brian! Thanks, that's what I need.
  14. Craft

    Transferring Domain

    @WHMCS ChrisD eNom supports all the features and I see most of the resellers are using eNom. But unfortunately it's domain pricing is very expensive and I don't know how all their resellers are selling the domains cheaper than eNom itself :)
  15. Craft

    Transferring Domain

    @WHMCS ChrisD If you don't mind, do you know if eNom registrar is supporting Expiry Date syncing with WHMCS or not?
×

Important Information

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