Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Payment gateways 1

Status
Not open for further replies.

loveday

Programmer
Sep 19, 2004
106
US
Hi all,
I know this question has been asked several times before.

I certainly have browsed through the faq and posts and have found some useful info about payment gateways and usage.

I ask that you, *please* help walk me throught the process of using a payment gateway.

My client wants to go with a company called viaklix.

They have several options that include providing checkout feature for a company that has it's own shopping cart program.

This is the option we are leaning towards because we have already designed the shopping cart program.

I just would like to know what process steps that I need to follow in order to have a *working* payment gateway.

What exactly are involved?
Is additional coding involved in setting it up?
If yes, what type of coding?

I look forward to your generous response.
 
Just looked at their site and there are pretty straightforward instructions on how to create the form and what fields you need are in the developer guide and this is all you need.

Create the form on your "Buy product" page, fill in the fields to suit.
How you integrate it into an existing cart will depend on the individual shopping cart. Many have some form of manual that details the variables you use to pre-poulate the fields.
In your case, if you designed the cart then you should be aware of what variables/values to use. There's nothing complicated about it, it's exactly the same way as you would go about populating any other form data.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
sorry Chris, it's been a long day; so I apologize for late response.


You said:

>Create the form on your "Buy product" page, fill in the >fields to suit.
>How you integrate it into an existing cart will depend on >the individual shopping cart. Many have some form of >manual that details the variables you use to pre-poulate >the fields.

When you say Buy Button, I assume you mean Purchase Button or as in my case "Order Now" button in the checkout page.

If this is true, here is just a snippet of it.

There is of course a whole lot more code but just take a look at this and see if you will be kind enough to help me understand it better:

Code:
    <INPUT type="hidden" name="ordertotal" value="<%= intTotal%>">
    <input type="hidden" name="IsHidden" value="false">
	<P><INPUT name="action" type=submit value="Order now!">
	<INPUT type="button" onClick="window.location='home.asp?end=1'" value="Cancel order" name="cancel">
	</FORM>

Thanks for your help
 
Yep that's it.
Simply create a form in the same way but substitute the input names for the ones required by the merchant company. This applies to all the various gateways.
sending the cost for example;

Code:
viaclix;
<input type="hidden" name="ssl_amount" value="<%= FormatNumber(Total,2)%>">

WorldPay & Paypal;
<input type="hidden" name="amount" value="<%= FormatNumber(Total,2)">

Obviously there are many more fields to use but it's just the same process.


Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
sorry again, Chris.

I am working offsite with no access to internet, so please stay with me.

My question is how do you know that that is how to code viaklix checkout Buy button?

Have you done business with them before?

I have tried to contact them but I have not heard back from them.

Will they provide me with their code, like the example you just gave me?
 
Never worked with them at all but every gateway is basically the same.

Their developer guide is here which has all the specs in a PDF File for setting the gateway up.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
very useful info, Chris!

Thanks very much.

I may have a few more questions in the future but for now, your help is greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top