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
    • WHMCS 8.0 Release Discussion Board
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • 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 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
    • Feedback
    • 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 Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.0.x Hotfixes
  • V7.10.x Hotfixes
  • V7.9.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


About Me

Found 31 results

  1. It doesn't matter what payment method you use. It can be PayPal, Stripe, Skrill or Credit Card. The typical gateway charges absurdly high fees to manage your money. Billing Extension helps you saving up to 18% on transaction fees but such costs can be lowered even further. Let's face it. In an ideal world we would be receiving money just with Bank Transfer (aka Wire Transfer) since it doesn't cost you anything. The following hook can be used to force the most convenient gateway you have depending on invoice balance. For example if invoice balance >= 1000 euro force banktransfer. Let's do some math. PayPal charges 3.4% + 0.35 € per transaction meaning that receiving 1000 € costs you 35.35 € Let's suppose on a yearly basis you receive 10 payments of 1000 € At the end of the year you gave to PayPal 353.5 € With this hook you can keep this money for you. As if it wasn't enough, the hook can be customized to force the payment gateway depending on customers' country. For example you can use the hook just for specific countries (eg. IT, FR, DE) and/or European Union. Don't worry about multiple currencies. The script automatically handles currency conversion when needed. Get the Code »
  2. i want to integrate new third party method i fowled the documentation and the payment is redirect back to the success link but the invoice id is always zero knet.php knet.php
  3. i'm try to add new payment method "third party " it's ok i added to thw whmcs also the payment is redirected to the payment portal but when it's come back i get error knet.php
  4. Hello, Quick question: there is any way of redirect the users to a specific payment gateway in a direct link to the "view invoice" page? This despite the "default payment" method selected by the user. For instance: https://whmcs.domain/viewinvoice.php?id=1234&gateway=SOMETHING Thank you
  5. Hello everyone Can you help me something on this please. In my invoice list I have changed the button name from Unpaid to Make-Payment. Because what I want is when my customer click on this make payment button it will be take them direct to payment page instead of viewinvoice page.. Because I have put a button to download the pdf invoice so my customer can download the pdf invoice if they want to see it. But I really need to skip the viewinvoice page. So if I have PayPal as a payment method for that invoice then when client click on that Make-Payment button it will be take them to PayPal directly. Can someone help me with the code in the template file. Thanks a million in advance Please see the current invoice list page
  6. 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
  7. I have attached screenshots below. When I add a new payment method or previous, it sends request to remoteinput method and it receives response on callback and works perfectly. However, when I make payment using saved token, it makes payment perfectly, but callback does not work. Can somebody please help?
  8. Client reporting that they cannot add a new payment method - credit card. I can reproduce. i am also seeing strange issues. When I "Login as Client" I can see that I am masquerading as them, however when I go to add payment method, I get a login screen. I've never seen this behavior before. I am also now getting a Oops 404 I've I try to reset a password as a client would on the front facing portal.
  9. Hi All, Using WHMCS V7.9.2 We have a number of our customers setup with card details in Stripe from a previous billing system. I can't see any way to connect those card details to our WHMCS system. We really don't want to have to go back to our customers and ask them for their payment details again. Thanks
  10. Hello, I am looking for someone to develop a custom Paygate Checkout System Similar to Paygate or 2checkout Does anyone know the correct person who can help me with this? Regards,
  11. Hi, So i recently updated our system and its gone pear shaped. Firstly the cron wouldnt run, Fixed that.. Now i cant get it to process payments. In the admin area if i open the invoice and click attempt capture i get " An error occurred while communicating with the server. Please try again. " When i login as the client open their invoice and click pay now it works. Something is breaking the automation of charging our clients, we havent processed a payment in a about 3 weeks now. I cannot get anymore information out of the site as the where the error is other than there was one. We are using Worldpay future pay. Is anyone able to help ?
  12. We have released a new update of our WGS PayPal Tokenization WHMCS Payment gateway module. This new 1.0.6 Update brings in the compatibility with the latest WHMCS 7.8 - 7.8.1. Our module has become the most updated Paypal tokenization module in the WHMCS Marketplace. Users can download the latest files from the WGS Client Area.
  13. 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
  14. 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?
  15. 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
  16. 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}
  17. 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?
  18. 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
  19. 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
  20. 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
  21. 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!
  22. 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
  23. 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!
  24. 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 !
  25. 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.
×
×
  • 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