Posts Tagged ‘ php

Virtuemart – eway payment method

Joomla’s Virtuemart shopping cart component has a built in payment module for eway – one of the big gun online credit card payment processors.
The ‘normal’ way for a website to set up Virtuemart is to have transactions tied in to user accounts, but if you want to set it up differently so that people can buy stuff from your site without logging in you can do that too.
The way the eway processor works is by sending XML to eway’s server with all the details of the transaction – name, email, credit card number etc.
The problem is that it grabs this information from the Joomla user database, which isn’t much help if you’ve set up Virtuemart to enable transactions without logins.
That’s where this code comes in.
[This code was provided by fredzebu and Gygash at the Virtuemart forum (see post at http://forum.virtuemart.net/index.php?topic=57773.msg200107).