[freeside] Invoice Number or Payment Number in Business::OnlinePayment transaction?

ivan ivan at 420.am
Wed Mar 2 14:50:24 PST 2005


On Wed, Mar 02, 2005 at 04:24:38AM -0600, Nicholas Moline wrote:
> I don't know if you guys will consider this a silly question or not, but 
> my merchant account charges me a higher rate on transactions if I do not 
> pass an order or invoice number along with the transaction when 
> processing the credit card.  I've been trying to find the part of the 
> code where it actually calls the Business::OnlinePayment transaction so 
> that I can alter the call to pass one of those identifiers along with 
> the transaction so I can get the lesser rate, but for some reason I've 
> found myself at a loss in locating this bit of the code.  I hate to 
> bother the list with a question that should be a trivial matter of 
> finding a simple subroutine call, but hopefully this is a question that 
> someone can answer quickly while being only minimially annoyed with me 
> for asking.

FS::cust_main::realtime_bop

Hint: grep 'Business::OnlinePayment' freeside/FS/FS/*.pm

IIRC the invoice number is passed to the processor when a payment is
made against a single invoice, i.e. when processed as an invoice event
by the "Bill Now" button or freeside-daily cron job.

-- 
_ivan



More information about the freeside-users mailing list