Here's the code for Cybersource SOAP Refunds

Greg's picture

This is a bit of the code I was discussing earlier for refunds through Cybersource. It only works with SOAP for now so keep that in mind. You're free to modify the code, but if you do something interesting, please post it back here in the comments! :)

Download the Cybersource Refund SOAP module Here

Here's the writeup from the module file:

// A quick and dirty module for processing 
//    Cybersource SOAP refunds.
//
// Author: Greg Eisenman
// Date: 5/23/09
//

Views 2 and Drupal - Adding a custom field to the views query

Greg's picture

Here's a quick rundown of how to add a field to Views 2 in Drupal.

It's fairly straightforward, but just in case someone is having difficulty this example should help you along. I'll try my best to explain what is happening.

Let's say for a moment you have some data in a table that pertains to a node. In this example, I'll have an item price in a table called views_price (this table was set up for expressly this purpose) which is keyed on a nid.

So basically we have this:

CREATE TABLE IF NOT EXISTS `views_price` (
  `nid` int(11) NOT NULL,
  `price` float NOT NULL,

Ubercart Cybersource Module - Refunds (SOAP)

Greg's picture

Just throwing this out there to gauge demand...we just created a module (for 98main.com) which processes refunds for Cybersource transactions created through Ubercart. We don't use the Cybersource module for Ubercart because at the time we set up the site I believe SOAP was either not integrated into that module or perhaps it didn't do specifically what we needed.

sIFR 3.0, Drupal and Dynamic Rendering

Greg's picture

With my newly launched blog site (do you like it?) I decided to play around a bit with sIFR. For those of you who've never heard of sIFR, it dynamically replaces common text on a web page with a replacement Flash movie that acts like normal text. You can select it, apply styles to it and most importantly you can use fonts not typically available to a web designer.

Obvious examples on this page are the use of Viner Hand ITC on the page header and some of the block headers.