Jump to content

Problem credit card gateway


youssefalaoui

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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