youssefalaoui Posted November 9, 2012 Share Posted November 9, 2012 Hello, i have a costume gateway module for WHMCS running under Centos/cpanel last version, and i have configured products for Automatically setup as soon as the first payment is received. Before about 1 month my costume gateway module run without any problems. the problem happend since 1 month: after a successful payment with my costume gateway module, i just got this logs: Invoice Marked Paid Added Invoice Payment So the invoice is marked as paid without email confirmation, and the module create or the Running Automatic Domain Registration on Payment doesn’t run, and the clients don’t receive any confirmation email !!!. But in paypal and 2co, i don't have any problem, after successful payment we got this logs: Module Create Successful Running Module Create on Payment Invoice Marked Paid Added Invoice Payment And the client receive a confirmation email for each steps. this is the last part of callback php file: if ($checksum == $checksumMTC && is_numeric($orderNumber) == "True") { echo "1;" . $cartId . ";".date("Ymd").";1"; logTransaction($GATEWAY["name"],$_POST,"Successful"); addInvoicePayment($cartId,$orderNumber,$totalAmountTx,$fee,$gatewaymodule); } else {echo "0;Null;Null;Null"; logTransaction($GATEWAY["name"],$_POST,"Unsuccessful"); } where echo "1;" . $cartId . ";".date("Ymd").";1"; is the succesfull answer for the gateway provider. Can you help me please BEST REGARDS 0 Quote Link to comment Share on other sites More sharing options...
youssefalaoui Posted November 13, 2012 Author Share Posted November 13, 2012 REFORMULATION: the callback file works fine before, but since one month ago, the whmcs has problem Running Module Create on Payment. we are asking if the hook "addInvoicePayment" is enough to run module create on payment and send invoice payment confirmation. how can we verify the source of this issue as we don't have any error in logs. Thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.