WorldPay module

9 replies [Last post]
Joined: 09/25/2007
Juice: 14

I've made a start on a WorldPay module, based around the 2Checkout module.

It's in a fairly rough state right now, but has at least enough marbles to submit a payment request to the WorldPay test server, and can handle a (faked) GET request confirming payments. I haven't got a real live WorldPay account to test it with yet, so once I get that through I'll be handling some more stuff in it.

One caveat is that the currency is hardcoded to be GBP - I'm sure there's a way to make this customer-configurable. I thought that the country array might have the currency code in it, but it doesn't. Is there something that will return the currency code given the country code in Übercart?

Grab it from http://www.gjcp.net/uc_worldpay.tar.bz2

Please tell me where I can improve it - this is my first crack at a Drupal module, never mind an Übercart module!

Gordon

Joined: 08/07/2007
Juice: 6673

At this point, Ubercart only supports one currency for a site. You can get that currency using

<?php
  variable_get
('uc_currency_code', 'USD');
?>

This setting is found in Format settings under Store settings.

bwv
bwv's picture
Uber DonorBug FinderEarly adopter... addicted to alphas.Spreading the word - Ubercart for president.
Joined: 08/07/2007
Juice: 344

Hello. I am helping a client in the Far East build a site with UC and he has a Worldpay account. He is very interested in the module you are working on, and has authorized me to volunteer his Worldpay account for testing if it would help. Can you give me an update on the status of the module? Thanks so much.

Joined: 09/27/2007
Juice: 40

I am also very interested in the development of this module.

Do you have any updates????

Thank, Matt

Joined: 11/21/2007
Juice: 9

Are there any updates on this module?

Joined: 08/16/2007
Juice: 67

Your dev version seems unavailable. Could you post it on the ubercart site or give a working url for it?

Joined: 08/16/2007
Juice: 67

you guys might be interested

http://www.ubercart.org/contrib/3979

Joined: 11/21/2008
Juice: 2

I haven't got a real live WorldPay account to test it with yet, so once I get that through I'll be handling some more stuff in it.

merchantacquiring(dot)co(dot)uk

Joined: 07/23/2009
Juice: 2

Anyone tell me what version the Worldpay module will work with?

Joined: 02/23/2009
Juice: 32

Look here: http://drupal.org/project/uc_worldpay

Basically, 6.x