Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | I cannot view this website properly...

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion
Register FAQ Community Calendar

Worldpay - html coding - anyone?
Reply
 
Thread Tools
Old 02-06-2009, 23:41   #1
Mr Angry
Inactive
 
Mr Angry's Avatar
 
Join Date: Jan 2006
Location: Belfast
Posts: 4,785
Mr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny stars
Mr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny stars
Worldpay - html coding - anyone?

Chaps / chapettes,

Can anyone tell me how to integrate a "drop down" box (single selection) into a form that submits to WorldPay?

Any help would be very much appreciated.
Mr Angry is offline   Reply With Quote
Advertisement
Old 03-06-2009, 00:21   #2
punky
Inactive
 
Join Date: Jun 2003
Age: 44
Posts: 14,750
punky has a golden aurapunky has a golden aura
punky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aura
Re: Worldpay - html coding - anyone?

Without me reading through all the Worldpay API (and this time of night, you've got no chance ) i'm guessing you would just do a standard dropdown box and the it will be included in the form by its name.

something like this maybe?

Code:
<select name="worldpay_name">
<option value="Val1">Value 1</option>
<option value="Val2">Value 2</option>
</select>
If it has to be a specific name for Worldpay then you can set it. Usually payment processors build the transaction as an XML doc and send it. It could well build the XML from all the objects inside the form. Otherwise you would get the value using:

PHP Code:
$name $_POST['worldpay_name']; 
I know its a bit vague but never used Worldpay. Hope that gives some clues to the API though.
punky is offline   Reply With Quote
Old 03-06-2009, 00:27   #3
Mr Angry
Inactive
 
Mr Angry's Avatar
 
Join Date: Jan 2006
Location: Belfast
Posts: 4,785
Mr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny stars
Mr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny starsMr Angry has a pair of shiny stars
Re: Worldpay - html coding - anyone?

G,

That's a good help.

I've found some documentation on the Worldpay server which suggests that you're on the right lines but I will have to figure out the "handlers" from their end.

What's with the "and at this time of night" malarkey?

Punk rockers didn't need to sleep when I were a lad ...etc, etc, etc.

Thanks again mate.

P
Mr Angry is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 14:48.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum