VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Payment Modules => Topic started by: larrynichols on October 10, 2006, 20:23:20 PM

Title: Gift Card payment module
Post by: larrynichols on October 10, 2006, 20:23:20 PM
Is there a howto on adding a simple field to an existing payment module (say COD/address only, or paypal related) for something like a gift card.  We sell physical gift cards and I want our customers to be able to input the number when placing their order.  It wouldn't need to calculate anything or connect to any gateway, just send the number along with the order.  Is this very complicated?  Thanks in advance.
Title: Re: Gift Card payment module
Post by: LongBranchAssociates on October 10, 2006, 21:31:09 PM
Try using the custom attribute functionality. If I understand your requirement correctly this is a potential solution

For a Tutorial on attributes go to:

http://www.lba-tech.com/lba-tech/content/view/97/75/

Title: Re: Gift Card payment module
Post by: larrynichols on October 11, 2006, 00:59:49 AM
I appreciate the response, and it does seem like what I want, but I don't think I'm smart enough to apply the custom attribute functionality to the payment system.  Has anyone else added custom attributes to a payment method?  I applied the hack to get it to work in products, but I wouldn't know how to duplicate that in payments.  Anyone care to lend a hand?