[ic] interchange-users Digest, Vol 76, Issue 20

Chris Keane chris.keane at zzgi.com
Fri Oct 30 15:10:33 UTC 2009

> Thanks for writing about this.
> If PsiGate is only accepting payment submissions via XML, and they always 
> require the XML root tag be Order, we really should just update the 
> PsiGate module to do this automatically, shouldn't we? That is, rather 
> than modifying Vend::Payment in a way that really only applies to PsiGate.
> I'd like to figure out how to get your change into the Interchange core in 
> the most appropriate way keeping the other payment modules in mind.
> Thanks,
> Jon

It started out as a PsiGate-only payment module but the way that the 
wget code is implemented in Payment.pm doesn't seem to permit the upload 
of  simple pre-constructed XML via the wget method.  (please correct me 
if I'm wrong). It seems to want to construct a query with & joined 
key=value pairs.

If it was just PsiGate I would probably have altered Payment.pm to 
permit a file upload to the gateway blind and construct the XML in in 
the PsiGate module. But I have another customer who submits payments 
through their own custom corporate gateway that also require the message 
to be XML, so instead of replicating the XML code it made sense to just 
promote it to Payment.pm. I think I also read in one of the 
Authorize.Net bulletins that they'll be using XML one day too.

Just as a side note the current PsiGate module won't work for any new 
PsiGate accounts (all new customers are forced onto the new gateway).


More information about the interchange-users mailing list