Giter VIP home page Giter VIP logo

sample-gateway-module's People

Contributors

jstanford87 avatar mattpugh avatar peastew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sample-gateway-module's Issues

Custom Fields

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.

App & Integration installation

image
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.

checkCbTransID() Return 505 (Internal Error) for First Time

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

Sample module doesn't demonstrate masking values logged to tblgatewaylog

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);

Manipulation of gateway configuration options

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?

Get recurring amount

I am developing a module for recurring payments and need to know what are the parameters to this transaction method.

Thanks

The button do not show the text.

I download the demo and changed the name to my custom payment gateway but there gets nothing display on the button.

image

when I check the existing gateway I see there only little fields:

image

Submit Button does not work on the invoice page

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) . '" />';

Is possible $params['duedate']?

Hello,
thanks for sample gateway!
Is possible get the invoice due date via internal api? Like include $params['duedate']?

URL redirection happening multiple times

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.

How do we skip the a=complete page in a custom payment gateway

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

whmcs.json category should be "payments"

How to send email if payment faild

Hello your forum unavailable i get 403 forbidden

Hello how to add email for failed payment

sendMessage("Credit Card Payment Failed", $invoiceid); Not working

step register before doing payment

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.