NAME
Billing::Allopass::Simple - A simple function for micropayment system from Allopass
SYNOPSIS
use Business::PhoneBill::Allopass::Simple;
if (allopass_check($document_id, $RECALL)){
print "OK\n";
} else {
print get_last_allopass_error;
}
DESCRIPTION
This module provides a simple API to the Allopass.com micropayment system. This alternative to Business::PhoneBill::Allopass justs performs access code checks.
See http://www.allopass.com/index.php4?ADV=1508058 for more informations on their system and how it basically works.
FUNCTIONS
- allopass_check - Checks if a code has been recently validated for this document.
-
allopass_check($document_id, $code);
You must perform this check within 2 minutes after the code is entered.
- get_last_allopass_error - Returns last status string
-
print get_last_allopass_error();
AUTHOR
Bernard Nauwelaerts <bpn#it-development%be>
LICENSE
GPL. Enjoy ! See COPYING for further informations on the GPL.