Jump to content

Search the Community

Showing results for tags 'payment'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
  • The Latest from the WHMCS Team
    • News & Announcements
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Beta Program
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics

WHMCS Version

  • V7 Hotfixes
  • V7.1.x Hotfixes
  • V7.2.x Hotfixes
  • V7.3.x Hotfixes
  • V7.4.x Hotfixes
  • V7.5.x Hotfixes
  • V7.6.x Hotfixes
  • V7.7.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 20 results

  1. We have successful launched Alipay Cross Border Payment Gateway Module for WHMCS users. Now you can easily accept payments from your customers reciting in China. To know more about the plugin, visit: https://marketplace.whmcs.com/product/4537
  2. Hello I have integrated stripe into WHMCS and it work perfectly with whmcs client area. We have our own client area using WHMCS API, but when we click on "PayNow" in invoice it will re directs to WHMCS client area for payment instead of Stripe payment gateway. Currently I'm using paypal because it will re direct to their gateway for payment. Is there any solution in whmcs or in stripe?
  3. hello community... i hope all are doing very well. today i came back again for a small help with an code. basically by default now whmcs store the last 4 digit of the Credit card number of stripe gateway. which i found less confident for our clients. so i found an idea to modify the creditcard.tpl and make the RADIO BUTTON default to ENTER NEW CARD DETAILS and i will hide the 2nd radio button. this way client will never see that their credit card 4 digit is stored.. basically even storing the 4 digit we can't do anything.. but you know the clients.... can someone guide me from this code what i should modify to make default to the 1st radio button even the card number is stored in the server {if $remotecode} <div id="frmRemoteCardProcess" class="text-center" align="center"> {$remotecode} <iframe name="ccframe" class="auth3d-area" width="90%" height="600" scrolling="auto" src="about:blank"></iframe> </div> <script language="javascript"> jQuery("#frmRemoteCardProcess").find("form:first").attr('target', 'ccframe'); setTimeout("autoSubmitFormByContainer('frmRemoteCardProcess')", 1000); </script> {else} <form id="frmPayment" method="post" action="creditcard.php" class="form-horizontal" role="form"> <input type="hidden" name="action" value="submit" /> <input type="hidden" name="invoiceid" value="{$invoiceid}" /> <div class="row"> <div class="col-md-7"> {if $errormessage} {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage} {/if} <div class="col-sm-12"> <img width="100%" src="/templates/{$template}/img/stripelogo.png"> </div> <div class="alert alert-danger text-center gateway-errors hidden"></div> <div class="form-group"> <div class="col-sm-8 col-sm-offset-4"> <div class="radio"> <label> <input type="radio" name="ccinfo" value="new" onclick="showNewCardInputFields()"{if $ccinfo eq "new" || !$cardOnFile} checked{/if} /> {$LANG.creditcardenternewcard}</label> </label> </div> <div class="radio"> <label> <input type="radio" name="ccinfo" value="useexisting" onclick="hideNewCardInputFields()" {if $cardOnFile && $ccinfo neq "new"}checked{elseif !$cardOnFile}disabled{/if} /> {$LANG.creditcarduseexisting}{if $cardOnFile} ({$existingCardType}-{$existingCardLastFour}){/if} </label> </div> </div> </div> <div class="form-group{if $userDetailsValidationError} hidden{/if}" id="billingAddressSummary"> <label for="cctype" class="col-sm-4 control-label">{$LANG.billingAddress}</label> <div class="col-sm-6"> {if $companyname}{$companyname}{else}{$firstname} {$lastname}{/if} <button type="button" id="btnEditBillingAddress" onclick="editBillingAddress()" class="btn btn-default btn-sm"{if $cardOnFile} disabled="disabled"{/if}><i class="fa fa-edit"></i> {$LANG.change}</button><br /> {$address1}{if $address2}, {$address2}{/if}<br /> {$city}, {$state}, {$postcode}<br /> {$countryname} </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputFirstName" class="col-sm-4 control-label">{$LANG.clientareafirstname}</label> <div class="col-sm-6"> <input type="text" name="firstname" id="inputFirstName" value="{$firstname}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputLastName" class="col-sm-4 control-label">{$LANG.clientarealastname}</label> <div class="col-sm-6"> <input type="text" name="lastname" id="inputLastName" value="{$lastname}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputAddress1" class="col-sm-4 control-label">{$LANG.clientareaaddress1}</label> <div class="col-sm-6"> <input type="text" name="address1" id="inputAddress1" value="{$address1}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputAddress2" class="col-sm-4 control-label">{$LANG.clientareaaddress2}</label> <div class="col-sm-6"> <input type="text" name="address2" id="inputAddress2" value="{$address2}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputCity" class="col-sm-4 control-label">{$LANG.clientareacity}</label> <div class="col-sm-6"> <input type="text" name="city" id="inputCity" value="{$city}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputState" class="col-sm-4 control-label">{$LANG.clientareastate}</label> <div class="col-sm-6"> <input type="text" name="state" id="inputState" value="{$state}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputPostcode" class="col-sm-4 control-label">{$LANG.clientareapostcode}</label> <div class="col-sm-6"> <input type="text" name="postcode" id="inputPostcode" value="{$postcode}" class="form-control" /> </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputCountry" class="col-sm-4 control-label">{$LANG.clientareacountry}</label> <div class="col-sm-6"> {$countriesdropdown} </div> </div> <div class="form-group cc-billing-address{if !$userDetailsValidationError} hidden{/if}"> <label for="inputPhone" class="col-sm-4 control-label">{$LANG.clientareaphonenumber}</label> <div class="col-sm-6"> <input type="text" name="phonenumber" id="inputPhone" value="{$phonenumber}" class="form-control" /> </div> </div> <div class="form-group cc-details{if !$addingNewCard} hidden{/if}"> <label for="cctype" class="col-sm-4 control-label">{$LANG.creditcardcardtype}</label> <div class="col-sm-5"> <select name="cctype" id="cctype" class="form-control newccinfo"> {foreach from=$acceptedcctypes item=type} <option{if $cctype eq $type} selected{/if}> {$type} </option> {/foreach} </select> </div> </div> <div class="form-group cc-details{if !$addingNewCard} hidden{/if}"> <label for="inputCardNumber" class="col-sm-4 control-label">{$LANG.creditcardcardnumber}</label> <div class="col-sm-7"> <input type="tel" name="ccnumber" id="inputCardNumber" size="30" value="{if $ccnumber}{$ccnumber}{/if}" autocomplete="off" class="form-control newccinfo" /> </div> </div> {if $showccissuestart} <div class="form-group cc-details{if !$addingNewCard} hidden{/if}"> <label for="inputCardStart" class="col-sm-4 control-label">{$LANG.creditcardcardstart}</label> <div class="col-sm-8"> <select name="ccstartmonth" id="inputCardStart" class="form-control select-inline"> {foreach from=$months item=month} <option{if $ccstartmonth eq $month} selected{/if}>{$month}</option> {/foreach} </select> <select name="ccstartyear" id="inputCardStartYear" class="form-control select-inline"> {foreach from=$startyears item=year} <option{if $ccstartyear eq $year} selected{/if}>{$year}</option> {/foreach} </select> </div> </div> {/if} <div class="form-group cc-details{if !$addingNewCard} hidden{/if}"> <label for="inputCardExpiry" class="col-sm-4 control-label">{$LANG.creditcardcardexpires}</label> <div class="col-sm-8"> <select name="ccexpirymonth" id="inputCardExpiry" class="form-control select-inline"> {foreach from=$months item=month} <option{if $ccexpirymonth eq $month} selected{/if}>{$month}</option> {/foreach} </select> <select name="ccexpiryyear" id="inputCardExpiryYear" class="form-control select-inline"> {foreach from=$expiryyears item=year} <option{if $ccexpiryyear eq $year} selected{/if}>{$year}</option> {/foreach} </select> </div> </div> {if $showccissuestart} <div class="form-group cc-details{if !$addingNewCard} hidden{/if}"> <label for="inputIssueNum" class="col-sm-4 control-label">{$LANG.creditcardcardissuenum}</label> <div class="col-xs-2"> <input type="number" name="ccissuenum" id="inputIssueNum" value="{$ccissuenum}" class="form-control input-" /> </div> </div> {/if} <div class="form-group"> <label for="cctype" class="col-sm-4 control-label">{$LANG.creditcardcvvnumber}</label> <div class="col-sm-7"> <input type="number" name="cccvv" id="inputCardCvv" value="{$cccvv}" autocomplete="off" class="form-control input-inline input-inline-100" /> <button type="button" class="btn btn-link" data-toggle="popover" data-content="<img src='{$BASE_PATH_IMG}/ccv.gif' width='210' />"> {$LANG.creditcardcvvwhere} </button> </div> </div> {if $shownostore} <div class="form-group cc-details{if !$addingNewCard} hidden{/if}"> <div class="col-sm-offset-4 col-sm-8"> <div class="checkbox"> <label> <input type="checkbox" name="nostore" id="inputNoStore"> {$LANG.creditcardnostore} </label> </div> </div> </div> {/if} <div class="form-group"> <div class="text-center"> <button type="submit" class="btn btn-primary btn-lg" id="btnSubmit" value="{$LANG.submitpayment}"> <span class="pay-text">{$LANG.submitpayment}</span> <span class="click-text hidden">{$LANG.pleasewait}</span> </button> </div> </div> </div> <div class="col-md-5"> <div id="invoiceIdSummary" class="invoice-summary"> <h2 class="text-center">{$LANG.invoicenumber}{$invoiceid}</h2> <div class="invoice-summary-table"> <table class="table table-condensed"> <tr> <td class="text-center"><strong>{$LANG.invoicesdescription}</strong></td> <td width="150" class="text-center"><strong>{$LANG.invoicesamount}</strong></td> </tr> {foreach $invoiceitems as $item} <tr> <td>{$item.description}</td> <td class="text-center">{$item.amount}</td> </tr> {/foreach} <tr> <td class="total-row text-right">{$LANG.invoicessubtotal}</td> <td class="total-row text-center">{$invoice.subtotal}</td> </tr> {if $invoice.taxrate} <tr> <td class="total-row text-right">{$invoice.taxrate}% {$invoice.taxname}</td> <td class="total-row text-center">{$invoice.tax}</td> </tr> {/if} {if $invoice.taxrate2} <tr> <td class="total-row text-right">{$invoice.taxrate2}% {$invoice.taxname2}</td> <td class="total-row text-center">{$invoice.tax2}</td> </tr> {/if} <tr> <td class="total-row text-right">{$LANG.invoicescredit}</td> <td class="total-row text-center">{$invoice.credit}</td> </tr> <tr> <td class="total-row text-right">{$LANG.invoicestotaldue}</td> <td class="total-row text-center">{$invoice.total}</td> </tr> </table> </div> <p class="text-center"> {$LANG.paymentstodate}: <strong>{$invoice.amountpaid}</strong><br /> {$LANG.balancedue}: <strong>{$balance}</strong> </p> </div> </div> </div> <div class="alert alert-warning" role="alert"> <i class="fa fa-lock"></i> &nbsp; {$LANG.creditcardsecuritynotice} </div> </form> {/if} thanks very much to everyone for reading my post... Mahim
  4. When displaying your payment options during the final stages of the checkout process, the available payment gateway options are shown as text – in a number of different ways based upon the order form template being used. If we wanted to make this more attractive, we could replace the text of any or all of the gateways, with an image or logo, by editing the viewcart.tpl template within the active order form template. In order to do this, we can use one of the WHMCS variables that we have access to during the checkout process - $gateway.sysname - the variable stores in lowercase, the unique name used by WHMCS for the payment gateway. This is not the value you entered for the gateway in the “Display Name” field in the “Payment Gateways” section of the Admin Area. The next step is to create or find images for each of the gateways that you wish to replace with a graphic, all in the same graphic format (PNG, JPG or GIF) and save them with a lowercase filename. For example, if you were using PNG format, then your “PayPal” image would be called ‘paypal.png’; your “Bank Transfer” image is called ‘banktransfer.png’; and the “Mail-In Payment” gateway (in the above example, named ‘Cheque’) would be ‘mailin.png’. I believe the filename to be used is based upon the filename of the gateway file in ‘modules/gateways’, but you should be able to find its value by viewing the source of your cart page in your browser... [<label><input type="radio" name="paymentmethod" value="paypal" onclick="hideCCForm()" /> <img src=images/paypal.png /> So the part of interest above is: value=”paypal”. You would then upload these images to your “images” directory within WHMCS. If you wanted to put them in their own folder within the “images” directory, you can – but you will need to adjust the URL in the code below to take account of the slightly different path (see end of tutorial). The images directory i'm using in these examples is whmcs/images - and not the template(s) images folder. The replacement code works by first creating a new variable to store the URL of the gateway logo, then it will check to see if the image exists in the “images” folder (remember that it must have a lowercase filename on the server otherwise it will not be found) – if the image exists, it will display the image; if no image is found, it will display the text (as it does now). In the examples above, I have only uploaded a ‘paypal’ logo and hence only that gateway is using a replacement image – if I were to upload logos for the other two gateways, they would also be used instead of their text names. So, I will now go through each of the eight existing order form templates and show the code to be replaced, the replacement code and an image of how the cart checkout page looks when the new code is added. Ajaxcart Replace.... <div class="cartbox">{foreach key=num item=gateway from=$gateways} <label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {$gateway.name}</label>{/foreach}</div> With... <div class="cartbox">{foreach key=num item=gateway from=$gateways} <label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label> {/foreach}</div> Boxes Replace.... <p align="center">{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{$gateway.name}</label> {/foreach}</p> With... <p align="center">{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}</label> {/foreach}</p> Cart Replace... <p align="center">{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{$gateway.name}</label> {/foreach}</p> With... <p align="center">{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label> {/foreach}</p> Comparison Replace... <p class="paymentmethods">{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{$gateway.name}</label><br />{/foreach}</p> With... <p class="paymentmethods">{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label><br />{/foreach}</p> Modern Replace... {foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {$gateway.name}</label> {/foreach} With... {foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label> {/foreach} Slider Replace... {foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{$gateway.name}</label> {/foreach} With... {foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label> {/foreach} Verticalsteps Replace... <p align="center">{foreach key=num item=gateway from=$gateways}<input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /><label for="pgbtn{$num}">{$gateway.name}</label> {/foreach}</p> With... <p align="center">{foreach key=num item=gateway from=$gateways}<input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /><label for="pgbtn{$num}">{assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label> {/foreach}</p> Web20Cart Replace... <div class="cartbox">{foreach key=num item=gateway from=$gateways} <label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {$gateway.name}</label> {/foreach}</div> With... <div class="cartbox">{foreach key=num item=gateway from=$gateways} <label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if}</label> {/foreach}</div> Customised Order Form Templates If you are using a customised order form, perhaps supplied with a purchased WHMCS theme, this solution may still work with your template - in viewcart.tpl, you simply replace... {$gateway.name} With... {assign var="paylogo" value="images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if} In these examples, I have used .PNG images - if you wanted to use .JPG or .GIF instead, then you would replace .png in the code with .jpg or .gif - remember, they must all use the same format! if you wanted to put the gateway images in their own folder, e.g 'paylogos', then you would replace the code... {assign var="paylogo" value="images/`$gateway.sysname`.png"} with... {assign var="paylogo" value="images/paylogos/`$gateway.sysname`.png"} I hope this helps anyone who wants to replace their payment gateways text with images. I should also add that this is tested and working on the latest WHMCS release as of this tutorial - v5.3.3
  5. When I tried to do a test checkout I realized that I cant continue. I get an error about invalid tax percentage, but I don't even have tax setup. I am using WHMCS 7.4.2 I get the error no matter what payment gateway, and I have tried a fresh install of the checkout.tpl file and a bunch of other files that is included on multiple pages such as common and the sidebars. When I enable error reporting, I get the following stack trace: WHMCS\Exception\Billing\BillingException: Invalid tax percentage: in /home/myuser/public_html/vendor/whmcs/whmcs-foundation/lib/Billing/Tax.php:0 Stack trace: #0 /home/myuser/public_html/vendor/whmcs/whmcs-foundation/lib/Billing/Tax.php(0): WHMCS\Billing\Tax->validateTaxPercentage(NULL) #1 /home/myuser/public_html/includes/invoicefunctions.php(0): WHMCS\Billing\Tax->setLevel1Percentage(NULL) #2 /home/myuser/public_html/includes/processinvoices.php(0): updateInvoiceTotal(0) #3 /home/myuser/public_html/includes/processinvoices.php(0): createInvoicesProcess(false, true, '') #4 /home/myuser/public_html/includes/orderfunctions.php(0): createInvoices(1, true, '', Array) #5 /home/myuser/public_html/cart.php(0): calcCartTotals(true) #6 {main}
  6. Hi, I'm looking at getting the Stripe Payment gateway setup and have hit an issue with the Card Type field being empty. Any ideas?
  7. wellconnit

    Result URL for Payments

    Hi guys, I've almost finished developing a custom payment gateway, however when I submit and it posts I've set the return url(not the callback) to /viewinvoice?id=#### and there is a problem somewhere The callback is separate and is set to modules/gateways/callback/nabtransact.php But it returns me a page with no CSS and a login box which suggests it's logged out or lost the login cookie in the process. The address bar shows the payment gateway target but the page does not correspond. Any ideas are appreciated. Thanks
  8. PayTabs is a company aiming to revolutionize online payments by providing simple and trusted Payment Processing Solutions for Merchants or Individuals. The PayTabs product targets SME's primarily with a view to make online card acceptance more easily integrated with lower costs and most importantly minimal fraud. Services provided include Secure Payment Gateway, Fraud Preventions systems with convenient payment options and ecommerce platforms tailor-made for social media compatibility. PayTabs Express CheckOut is a solution that provides an efficient checkout process for online shoppers and keeps them on the merchant’s website while making a payment and even after the payment is complete Features Keeps customer on the merchant’s website while making a payment Add all customer info in payment fields 3d secure transaction View the product Page View all our works and Products
  9. We just finished updating the One Card Payment Gateway to v2.0.0 to work on WHMCS v6. Note that v2.0.0 only support WHMCS v6 or later if you need the gateway to work on WHMCS v5 you can still useOne Card Payment Gateway v1.3.0 Changlog Updated the module to support WHMCS v6 Added show fees note in the invoice note Added show fees in invoice View the product Page View all our works and Products
  10. If your goal is to increase brand visibility and compete with more reach and scale in a web hosting industry – today we present our tried-and-true solutions to achieve it! 1. Plesk Extended For WHMCS has been updated to streamline the management of web hosting accounts further, both on your and your customers side! The essence of version 2.5.0 lies in seven spanking new attributes of great practicality which, combined with a series of interface refinements, will yield a wealth of simplicity to a business routine! Changelog - v2.5.0: New Feature: Display configuration of multiple Plesk servers on a single page New Feature: SSO support - log in to panel and webmail with a single click New Feature: Support for MySQL and PostgreSQL database types New Feature: Display quota of email accounts New Feature: Toggle 'Power User' Plesk panel view New Feature: Display user guide for fresh installation of the module Improvement: Multi-language support Improvement: Clarify hostname format for new DNS records Improvement: User interface refinements Change: Defining custom URL of panel and webmail moved to the 'Server Configuration' page Bug Fix: Use custom server port Bug Fix: Create a new client using full client address Bug Fix: Prevent from overwriting email forwarders Bug Fix: Prevent creation of email account along with email forwarder Find Out More About Plesk Extended For WHMCS! 2. Hosting Renewals For WHMCS enables the management of billing cycles, recurring payments and renewals of hosting services right inside your WHMCS. Upon its update to version 2.6.0, you are offered a whole new spectrum of possibilities that will translate into tremendous user experience and perfect handling ease. New Feature: Display price difference while changing product billing cycle New Feature: Define format in which billing cycle price difference should be displayed New Feature: Support for 'Only Auto Provision for Existing' WHMCS option New Feature: Support for 'No Invoice Email on Order' WHMCS option Improvement: Core optimization Improvement: User interface refinements Bug Fix: Renew related items - renew domain along with its hosting Bug Fix: Create invoice - set correct dates Bug Fix: Send each notification one a day Bug Fix: Set auto renewal to off automatically Find Out More About Hosting Renewals For WHMCS! 3. Owing to the update of our WHMCS Analyzer, you are given several more ways to protect the health of your technical infrastructure! Verify the compatibility of your server with WHMCS requirements, scan your system for any possible issues and do much more to eliminate the threat of a technical failure in advance – absolutely for free! Changelog - v1.1.0: New Feature: Run tests on server compatibility with WHMCS requirements and recommendations New Feature: Display test summary with detailed information about the end results New Feature: Display extended information about each hook, if available New Feature: Check version status of ModulesGarden addon modules Improvement: Extended information included in 'Possible Issues' panels Find Out More About WHMCS Analyzer! See what's on the list of latest releases: Multibrand For WHMCS – v1.8.4 Password Manager For WHMCS – v2.1.1 Coming soon: Proxmox Cloud For WHMCS – v2.2.0 Proxmox VPS For WHMCS – v2.1.2 IP Manager For WHMCS – v2.3.0 CRM For WHMCS – v2.3.0 Need Custom Software Development For Your Business? Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
  11. I am wanting to switch from one credit card processing gateway to another but I want to make sure all of the existing customers get switched over to the new gateway. If I go ahead and set up the new gateway and then disable the existing gateway, will it ask me what gateway customers using the old gateway should be switched to? I vaguely remember doing this in the past but could find a definitive answer in the docs. If the above does not work, is there another way to easily mass update all of the customer to a new gateway? Best regards, Eric
  12. Hi all, We switched to a new payment processor - spectrocoin. But there script don`t send out notification when a payment is made. So we modified the callback script like this: ########################### <?php # Required File Includes include '../../../dbconnect.php'; include '../../../includes/functions.php'; include '../../../includes/gatewayfunctions.php'; include '../../../includes/invoicefunctions.php'; require_once '../spectrocoin/lib/SCMerchantClient/SCMerchantClient.php'; $gatewaymodule = "spectrocoin"; $GATEWAY = getGatewayVariables($gatewaymodule); if (!$GATEWAY["type"]) { logTransaction($GATEWAY["name"], $_POST, 'Not activated'); error_log('Spectrocoin module not activated'); exit("Spectrocoin module not activated"); } $privateKey = __DIR__ . '/../spectrocoin/keys/private'; if (!file_exists($privateKey) || !is_file($privateKey)) { error_log('SpectroCoin. No private key file found'); exit('No private key file found'); } $merchantId = $GATEWAY['merchantId']; $appId = $GATEWAY['appId']; $receiveCurrency = $GATEWAY['receive_currency']; $request = $_REQUEST; $client = new SCMerchantClient($privateKey, '', $merchantId, $appId); $callback = $client->parseCreateOrderCallback($request); if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ($client->validateCreateOrderCallback($callback)) { if ($callback->getReceiveCurrency() != $receiveCurrency) { error_log('SpectroCoin error. Currencies does not match in callback'); exit('SpectroCoin error. Currencies does not match in callback'); } if (!isset($_GET['invoice_id'])) { error_log('SpectroCoin error. invoice_id is not provided'); exit('SpectroCoin error. invoice_id is not provided'); } $invoiceId = intval($_GET['invoice_id']); $status = $callback->getStatus(); switch ($status) { case OrderStatusEnum::$Test: case OrderStatusEnum::$New: //update amount of bitcoints $table = "tblinvoices"; $update = array("amount2" => $callback->getReceivedAmount()); $where = array("id"=>$invoiceId); update_query($table, $update, $where); case OrderStatusEnum::$Pending: case OrderStatusEnum::$Expired: case OrderStatusEnum::$Failed: //Send mail when payment is submitted >> $command = "sendadminemail"; >> $adminuser = "adminus"; >> $values["type"] = "system"; >> $values["customsubject"] = "Payment Submitted"; >> $values["custommessage"] = "$client_name ,Invoice: $invoiceId"; >> $results = localAPI($command,$values,$adminuser); break; case OrderStatusEnum::$Paid: $invoiceId = checkCbInvoiceID($invoiceId, $GATEWAY["name"]); $transId = "SC".$callback->getOrderRequestId(); checkCbTransID($transId); $result = select_query('tblinvoices', 'total', array('id'=>$invoiceId)); $data = mysql_fetch_array($result); $amount = $data['total']; $fee = 0; addInvoicePayment($invoiceId, $transId, $amount, $fee, $gatewaymodule); logActivity("Received SpectroCoin paid callback for invoice #$invoiceId. Transaction #$transId: Received amount: $amount $receiveCurrency, Paid amount: " . $callback->getReceivedAmount() . " ". $callback->getPayCurrency()); //Send mail when payment is DONE >> $command = "sendadminemail"; >> $adminuser = "admin"; >> $values["type"] = "system"; >> $values["customsubject"] = "Payment!!!"; >> $values["custommessage"] = "Invoice: $invoiceId , Amount: $amount"; $results = localAPI($command,$values,$adminuser); break; default: error_log('SpectroCoin callback error. Unknown order status: ' . $status); exit('Unknown order status: ' . $status); } echo '*ok*'; } else { error_log('SpectroCoin error. Invalid callback'); exit('SpectroCoin error. Invalid callback'); } } else { header('Location: /'); } ################################################### Check this code: >> $command = "sendadminemail"; >> $adminuser = "admin"; >> $values["type"] = "system"; >> $values["customsubject"] = "Payment Submitted"; >> $values["custommessage"] = "$client_name ,Invoice: $invoiceId"; This sends out mails when a payment is submitted, and when a payment is paid. Problem is, that we need to get the client name who did the payment per mail and the invoice ID. This sends out the mail, but we get only invoice ID. How to accomplish to get the Client name to? Appreciate if some one can give us hint here:) Cheers!
  13. Hi, I want to send an email to customers who didn't paid after sign up. Im not sure how should I setup the Minimum Number of Active Products/Services and Maximum Number of Active Products/Services. May be minimum 0 and maximum 1? Thank you !
  14. adroitssd

    2co gateway log unsuccessful

    Hello, from last week I'm facing a problem. 2co is sending fraud status change and all other callback notification . But in my gateway log i see every 2checkout log result is unsuccessful. For that module is not changing payment status as well as doesn't creating new account. Anyone please help.
  15. Does anyone have any experience in using adrecord ( http://adrecord.com/ ) with sales through WHMCS ? or if its possible to link to a website outside of whmcs when a payment is complete? The problem i'm facing is that i need to put in a tracking code on the "payment complete" page, so adrecord is able to record once an order has been completed, which has come through them. But it seems no matter where i place it in WHMCS, it doesn't work.
  16. Recently we have released a significant update of Advanced Billing For WHMCS 2.0.8. Changes are really vast! Just check it out: New Feature: 'User Credit' tab New Feature: Interval for low credit notification emails New Feature: Total ammount on 'Items' page New Feature: Product name and hosting domain on 'Awaiting Invoices' page New Feature: Added 'Bill On Demand' (not available for credit billing) New Feature: Ability to delete all usage records for hosting Changed: Create only one log per month Bug Fix: Support of Parallels Cloud Servers For WHMCS Bug Fix: Support of Proxmox VPS For WHMCS Bug Fix: Free limit Bug Fix: Not displaying '?' if hint is not set Bug Fix: Creating empty log file Bug Fix: 'Disk Size' of Proxmox VPS For WHMCS submodule Bug Fix: Credit billing Bug Fix: Monthly billing Bug Fix: Generate on invoice creation Bug Fix: Rounding prices on order page Removed: Support for Rackspace Cloud For WHMCS Removed: Convert currency Removed: Delete usage record Link to module page: http://www.modulesgarden.com/products/whmcs/advanced_billing/features
  17. Your manual http://docs.whmcs.com/2CheckOut On manual you speak about any terms, and I think that it's older style of 2co https://dropbox.tamainut.net/owncloud/public.php?service=files&t=3678908d78edfa1e58bf3eaf14224b9f Notifications--> Not on screen Direct Return --> Screen show this but integration say on Product Area. Confused. Aproved URL --> Not on manual Apreciate some help.
  18. Hi. I´m trying to develope a custom payment gateway and I need to create a form and post forward. My problem is that I need to somehow get fate into system in YYYYMMDD. In my gateways interface description I need to get this info for DELIVERY_DATE Here is a copy of the desc. "Delivery date. The best estimate of the date of delivery of the goods. If the exact delivery date is not known; using the latest possible date of delivery. Charges will be sent to the buyer with a credit facility delivery date." I found that from settings I can set up YYYY-MM-DD but how can it be modified? Please someone help me how to get my php code working.
  19. Any idea how set payment term with following scheme: 1st time order with X price term for two years After two years will be billed in annually with same price as 1st time per-year. Example: Date 6 November 2013 1st time payment $5 Next due 6 November 2015 $5 next future due 6 November 2016 $5, 6 November 2017 $5 and so on Thank you
  20. I am sending pdf attachments; I would ideally like the link to log them in (if necessary? can an invoice be paid by a guest?) and bring them straight to the checkout page for said invoice. How can I go about doing this?
×

Important Information

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