9 replies [Last post]
Gordonjcp's picture
Offline
Joined: 09/25/2007
Juice: 15

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

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6841
Re: WorldPay module

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
Offline
Uber DonorBug FinderEarly adopter... addicted to alphas.Spreading the word - Ubercart for president.
Joined: 08/07/2007
Juice: 403
Worldpay module

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.

shmatty29's picture
Offline
Joined: 09/27/2007
Juice: 40
World Pay

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

Do you have any updates????

Thank, Matt

paco82's picture
Offline
Joined: 11/21/2007
Juice: 9
any update?

Are there any updates on this module?

catorghans@drupal.org's picture
Offline
Joined: 08/16/2007
Juice: 72
Re: WorldPay module

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

catorghans@drupal.org's picture
Offline
Joined: 08/16/2007
Juice: 72
you guys might be interested

you guys might be interested

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

merchantacquiring's picture
Offline
Joined: 11/21/2008
Juice: 2
Merchant Acquiring|Worldpay|Payment Processing

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

agentsimon's picture
Offline
Joined: 07/23/2009
Juice: 2
This version is incompatible with the 6.12 version of Drupal

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

glowkeeper's picture
Offline
Joined: 02/23/2009
Juice: 32
Re: This version is incompatible with the 6.12 version of Drupal

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

Basically, 6.x