amuck-landowner

Phone verification?

trewq

Active Member
Verified Provider
Not bad pricing, but for me I can get at 2 cents per 2 text messages(incoming or outgoing), and 8 cents per minute on call time (if I change a few things, I can lower it to 4 cents per minute).
Is that for every country and via an api?
 

RTGHM

New Member
Is that for every country and via an api?
that's canada/us/uk rates.

for germany, russia it's 4 cents per 2 texts, 10 cents per minute.

Other countries it gets a bit more expensive, the most expensive is 45 cents a minute
 

trewq

Active Member
Verified Provider
@rds100 @KuJoe Just wanted to let you guys know that I should have an alpha of just the verification working by tonight. Won't have all the bells and whistles that I want it to have but it's progress.
 

Steven F

New Member
Verified Provider
Nexmo.com

You could do this easily in just a few minutes. Heck, once I finish doing the dev. work that I was hired to (and after I finish the IP blacklist, which is next), I can pop out a plugin for this, if anyone wants.
 

trewq

Active Member
Verified Provider
Nexmo.com

You could do this easily in just a few minutes. Heck, once I finish doing the dev. work that I was hired to (and after I finish the IP blacklist, which is next), I can pop out a plugin for this, if anyone wants.
That's what I'm using for the backend. I am going to be adding more functionality than they offer though.
 

Leyton

Member
Verified Provider
Nexmo is a great service - the only other recommendation in a similar price range I'd give is Plivo.

Both provide a similar service, and it never hurts to have a backup option in place - or to split your load between the two of them based on which performs best for the individual needs.

I've had a working version of something similar in our panel for a while, using both as a failover, but it's not built with any API or thought for WHMCS - though if you run into any problems, I'd be more than happy to  have a look :)

Anyway, I'll leave you to develop; just wanted to offer a reasonable backup option for the gateway.
 
Last edited by a moderator:

RTGHM

New Member
I got my plugin ready, I'll just publish it on github for anyone to use.

No sense in selling it or anything, rather just keep everything open-sourced.

If you want it just hit me up with a PM, I'll reply ASAP.
 

TurnkeyInternet

Active Member
Verified Provider
We would be a customer if a service could do this properly - we ran into a lot of trouble with tying ours in whmcs to external api's becasue we could not get a 1-size fits all solution that would be user friendly.

The big challenge with WHMCS at least is/was that there is no way to process a new order, pause to do this fraud check (where it interacts with a user to check for a PIN code, and re-direct to re-try if say their phone didn't get the text and they want to enter a new number to verify) then once completed go back to the completed order process and process the payment/provisioning.

We spoke to WHMCS directly on it and couldn't come up with any way to make user interaction (enter pin, or retry something else) within the payment processing process of a new order.

RTGHM would be very intersted to see what you did on WHMCS, we've been considering outsourcing for a module on this but if you invented the wheel already or the start of it, maybe w can chat for more features!

my 2 cents - for us, its not about the cost - 25 cents vs 50cents per verification is perfectly fine.  The cost of a charge back, or worse a spammer/bot-net person on your network causing abuse far outweighs the added cost and saves the billing dept manual time.   I realize every host is different, but for us it would be invaluable to have it do everyting we wanted.  We were sad to see maxmind depart this arena, it only tells me that their isn't a business  case of success in the model they ran it at (which is suprising as they had built in support with whmcs and other billing systems world wide, but stil couldn't make money with their fraud verifier / phone verifier to the point they shut down the phone options even now that the main product requires payment
 

trewq

Active Member
Verified Provider
@trewq any progress on this? Beta version or something?
Honestly I've been so busy over the last week I haven't had much time. Festive period and all, I'll set some time aside this weekend and get a working version going.
 

Joshua-Epic

Member
Verified Provider
In all honesty, it is much easier to have an employee make the call. For us, we have assigned one of our night system monitors to verify accounts via phone call or verification documentation. It only costs us about $35 for the phone line per month with pretty reasonable rates for out of country calling. At most, its about $0.75 /minute and most calls only take a minute or two. With one provider of the phone verification service leaving, its only a matter of time before another rises. 
 

rds100

New Member
Verified Provider
@trewq for the whmcs part i was thinking of a modification of the viewinvoice.tpl template and add additional check when the customer goes to pay the invoice - if he has a "phone verified flag" (add hidden custom field for this) - the normal payment options are there and he can pay the invoice. If he has not been verified previously - replace the "pay" button with a custom link which sends him to the verification page. And that verification page should call some API (GET / POST doesn't matter) to make the call with random generated 4 digit code, then have a form the input the code that the customer received. If the code matches - set the "phone verified" flag and redirect to the invoices list. If the code doesn't match... tell the customer he failed the verification.


{if $status eq "Unpaid"}
<font class="unpaid">{$LANG.invoicesunpaid}</font><br />
{if $clientsdetails.customfields6 ne "passed"}
<form method="post" action="phoneverify.php">
<input type="submit" value="Pay now" />
</form>
{else}
{if $allowchangegateway}
<form method="post" action="{$smarty.server.PHP_SELF}?id={$invoiceid}">{$gatewaydropdown}</form>
{else}
{$paymentmethod}<br />
{/if}
{$paymentbutton}
{/if}


But there is a little problem - viewinvoice.tpl doesn't have the custom fields by name, hence the "$clientsdetails.customfields6" above, which would be different for someone with different custom client fields. You could probably use a mysql query to find the right custom field but meh.
 
Last edited by a moderator:

KuJoe

Well-Known Member
Verified Provider
Weird, my post disappeared.

I was going to just create a basic hook that checked certain criteria and redirected the client to a verification page based on that criteria. @rds100's solution is nice, but I try to avoid changing template files if at all possible because some people use custom templates and such.
 

trewq

Active Member
Verified Provider
Much easier than I expected. Do you want me to be hosting the phoneverify.php? Sorry, just trying to get a grasp on what you actually want to make it easier from the start.
 

rds100

New Member
Verified Provider
Nah, the phoneverify.php must be local to the WHMCS installation since it must have access to the client details (country and phone number). It can then use an API to an external service to actually make the call. But first it should display the full phone number (with country code). The country dialing prefix should be added automatically in front of the phone number (so the customer can't specify a phone in a different country. It should display something like "We phone verify all orders. We will an automated make a call to +123456789 to give you a verification code. If this is not your correct phone number please go to your client details and edit it" with a link to the client details. And there should also be a "call me now" button.
 

rds100

New Member
Verified Provider
I ended up coding something myself (using an invoicetemplate.tpl edit to hook it). Still very early code, but seems to work from the client side - can send SMS or make a call and complete the verification. Need to write something for the admin side to make it easier to use, but it's a good start.
 
Top
amuck-landowner