Integrating CS-Cart with a new payment gateway

guys sorry , i posted alot of question but i have to finish this job for my company :



To integrate CS-Cart with a new payment gateway:



1- Create a script (which will send data to your payment processor server) with the name e.g. your_payment_script.php in the payments directory of your CS-Cart installation.



2- Create a template file inside your administrator skin, where the payment will be configured (e.g, skins/[ADMININSTRATOR_ACTIVE_SKIN]/admin/views/payments/components/cc_processors/your_payment_template.tpl).



3- Insert a record into the cscart_payment_processors database table,



--------------------------------

first step :

Create a script , the payment company send me the file ((e-tranzact.php)) I attached

so the first step is fine coz we have the script .





second step :

Create a template file, i created this template ((e-tranzact.tpl))

[color=“#FF0000”]now what should i put in this template ??? [/color]





Th step : Insert a record into the cscart_payment_processors database table

i just want explain about [color=“#FF0000”]processor_id[/color] is this default number

or the payment company should give me this number ?







---------------------------------------------

am really need help with this brothers

e-tranzact.php

Did you find out what to put in the template?!

The template contains the processor settings. Take a look in skins//admn/views/payments/components/cc_processors

You should be able to find a similar setup for your processor.

[quote name=‘tbirnseth’ timestamp=‘1348434899’ post=‘145600’]

The template contains the processor settings. Take a look in skins//admn/views/payments/components/cc_processors

You should be able to find a similar setup for your processor.

[/quote]



Thank you for the quick respond. The payment gateway I’m trying to integrate uses has no template. When you check out, it will take you to an external link that has it’s own template to complete the payment. HERE is the pdf for their installation guide.



This is the link to how it will be processed by something called e24Payment-PHP



I also managed to download the php code that was provided by some guy, but I don’t know what should I do with it in the cs-cart!



Here is the link for the download files.



I forgot to mention, I’m not a tech guy :S



So please easy with me here :(



I would really really appreciate your help here as I’m totally broke and trying to do this by myself :(



Thanks in advance

Sorry, way too much detail to provide on the forum.

Every payment processor needs the setup template in cs-cart.

This is how cs-cart knows what parameters to use when using the method.

Look at paypal.tpl. It is an 'offsite' method.

One more thing, the company told me I should use Java-Bridge!



However, I'm not sure if this is still required after the downloaded files I attached previously.