I created a custom a custom gateway module for my needs. I made all the verification (seal, response code,...), if I make a simulation everything is working. Now I need the whmcs function
addInvoicePayment
to accept the invoice.
Unfortunately, whenI add the following code to get the function, my dataare alteredso my seal is always corrupted.
<?php
use WHMCS\Database\Capsule;use WHMCS\Input\Sanitize;require("../../../init.php");
$whmcs->load_function('gateway');
$whmcs->load_function('invoice');
$GATEWAY = getGatewayVariables("customgateway");if(!$GATEWAY["type"])die("Module Not Activated");
Question
Executable
I created a custom a custom gateway module for my needs. I made all the verification (seal, response code,...), if I make a simulation everything is working. Now I need the whmcs function
addInvoicePaymentto accept the invoice.
Unfortunately, when I add the following code to get the function, my data are altered so my seal is always corrupted.
I don't know what is happening.
Link to comment
Share on other sites
2 answers to this question
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.