whmcs / sample-gateway-module Goto Github PK
View Code? Open in Web Editor NEWSample Third Party Payment Gateway Module for WHMCS
License: MIT License
Sample Third Party Payment Gateway Module for WHMCS
License: MIT License
I want to know whether I can put my source code in the WHMCS gateway directory?
I see all the payment gateway code are encoded, I want to know whether I can put source code in there, can it run success?
How to create custom fields on gateway module? My gateway (not link, but capture) ask per installments (number between 1 to 10), and I have no idea how to pass this information to gateway module to capture function.
Hi, I want to ask where should I put the code for the name and description like on the image above. I've used meta data but it still not showing.
here is the metadata
function duitkupop_MetaData()
{
return array(
'DisplayName' => 'Duitku Payment Gateway Module',
'APIVersion' => '1.0',
'DisableLocalCredtCardInput' => true,
'TokenisedStorage' => true,
);
}
Need Help with this one, Thanks.
Im just developing plugin payment with local payment-gateway.
While payment gateway doing First IPN Callback, script stopped by checkCbTransID($transactionId) ($transactionId get from payment-gateway - unique payment identification)
But while payment-gateway doing Another IPN Callback for the same $invoiceId it was OK and running as expected.
Could you please check for this bugs? Im sure it was bugs from WHMCS, because im trying to manual set static $transactionId for new $invoiceId always stopped by 500 error-code header.
Imusing WHMCS v.7.23 thank you so much
Currently the return value for transactions shows as including the raw response from the payment gateway like this: 'rawdata' => $responseData,
However many gateways return a bunch of data so that the requesting system can validate the request. This return data often includes the credit card number. The sample module should show a sample line like this to indicate that the developer should use proper security practices prior to storing that response data in the tblgatewaylog:
/*Be sure to change the actual array value for the credit card number from CreditCardNumber to the correct value according to the gateway's API documentation */
$responseData['CreditCardNumber'] = '****' . substr($responseData['CreditCardNumber'], -4);
I think I've created PHP files for a payment gateway module(with the params based on the sample PHP file), should I run composer.json after this?
Hey there,
I was wondering if there are some other types of manipulation of the configuration options except the basic one
text, password, yesno, dropdown, radio, textarea
For example, multiple yesno in one bar or if something is selected to disable some fields (vice-versa) or maybe just the image bar?
I am developing a module for recurring payments and need to know what are the parameters to this transaction method.
Thanks
Is it possible to put more than one payment gateway on a single module ??
Concantenation missing on line 206.
$htmlOutput = '<input type="hidden" name="' . $k . '" value="' . urlencode($v) . '" />';
Should be
$htmlOutput .= '<input type="hidden" name="' . $k . '" value="' . urlencode($v) . '" />';
Hello,
thanks for sample gateway!
Is possible get the invoice due date via internal api? Like include $params['duedate']?
Hello Team,
We have exactly followed the same steps as mentioned in the code and we have set a logic where we have to redirect user to external payment gateway page where customer would enter their credit card details.
When we are trying to redirect to external payment gateway curl is been triggering 3 times within the link function. We reviewed the code thoroughly but could not find any error. Does the default code has any specific things which we need to take care of it.
i send my client to payment end point successfully but when the payment comeback it return invoice id is #0
next
i used the var_dump($params['invoiceid']); to seed the result of the request i send to the payment endpoint the problem is that the params array does not have the invoice id why is that ????
https://drive.google.com/file/d/16FRTaG_3PQDs9k7xDnaX9AeHb71ZjlWr/view?usp=sharing, https://drive.google.com/file/d/1EyPeYRTinuENszDq2iuIEMfB2XeqIJgM/view?usp=sharing
when user select payment method and click on complete payment button, _link function 2 time calls?
Link on this line is not working / does not exist.
I was making a stripe checkout payment gateway for my client. But after I click on the Checkout button it goes to cart.php?a=complete
page, which I don't want to happen. I want to behave it like Paypal is doing, goes directly to the paypal site for payment.
Please guide me through this.
whmcs.json category should be "payments"
Hello your forum unavailable i get 403 forbidden
Hello how to add email for failed payment
sendMessage("Credit Card Payment Failed", $invoiceid); Not working
i am trying to add step register before redirection but i can't
the example don't accept this step
1 step do register in gateway website with curl
step 2: if success redirect to www.website.dopayment with url that sent from site in the first step
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.