taking payments through my database

R

Rob

Hi everyone,

I have set myself the task of automating the payment taking part of my order
processing system. To do this I need to integrate the following code to the
database to pass details by secure connection to their server.

The variables are as follows-

instId
Your unique WorldPay Installation ID Number
12345

currency
The currency of the purchase
GBP

desc
A description of the purchase
Blue T-shirt, Medium

cartId
A reference to help you identify the purchase
ABC12345

amount
The total cost of the purchase
10.00



The following code is only a sample and in html. - -

<form action="https://select.worldpay.com/wcc/purchase" method=POST>
<input type=hidden name="instId" value="******"> <input type=hidden
name="cartId" value=" Your own reference for this purchase "> <input
type=hidden name="amount" value="******">
<input type=hidden name="currency" value="GBP">
<input type=hidden name="desc" value="******">
<input type=hidden name="testMode" value="100">
<input type=submit value="Buy This">
</form>

Thanks for your help, maybe I need to post this into a seperate part of the
forums,

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top