Hi
I add a callback file for this gateway with the code
(...)
# Get Returned Variables
$status = $_POST["status"];
$transid = $_POST["transid"];
(...)
if ($status=="success") {
# Successful
addInvoicePayment($invoiceid,$transid,$amount,$fee,$gatewaymodule);
logTransaction($GATEWAY["name"],$_POST,"Successful");
} else {
# Unsuccessful
logTransaction($GATEWAY["name"],$_POST,"Unsuccessful");
}
But still WHMCS returns a blank page in http://myserver/creditcard.php
The rest of the code in the callback page is as Developer Kit say.
In the plugin script, besides the "_capture" function I use the "_link" function to show the form with an specific validation code I need for this gateway, and the action of this form is set to "http://myserver/creditcard.php".
Thanks in advanced
Leticia