Jump to content

Add my payment gateway


Kian

Recommended Posts

Hello. 2 Simple questions.

 

1) How can i add my custom payment gateway? I want to use my bank gateway that it's very similar to Paypal buttons. The only problem is that i don't understand how to add my gateway in drop down menu with my code. It seems that i can only use the gateway supported by WHMCS.

 

afdr.jpg

 

2) How can i use order-variables? I mean i know that {$clientsdetails.firstname} is the first name of my client in viewinvoice.tpl so i set the html button of my gateway like following:

<input type="hidden" name="CUSTOMER_FIRSTNAME" value="{$clientsdetails.firstname}">

<input type="hidden" name="CUSTOMER_LASTNAME" value="{$clientsdetails.lastname}">

Can i use the variabiles in this way?

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