Receipt Problem.

Apr 03, 2006 1 Replies

I want to change a some text on receipt, I had posted this 3-4 times but still waiting for an answer... :-((



Currently I tried to use QSRules.ReceiptClass and objVal.Session.Variable(x.Name)



But cannt proceed as its showing error Cannot create ActiveX Component (error for this line QSRules.ReceiptClass)



Can anyone tell me plzzz how to add simple text to Receipt...??



Waiting for ur reply



Vicky...


What sort of text are you trying to add?

I can't think of any reason that you would need to use ReceiptClass. What is objVal? What is x?

public function Process(by ref session as Object) as Boolean

session.Variable(1) = "My Text Goes Here..."

Process = True end function

You would also need to edit receipt.xml to use the variable "Session.Variable1" - that's how you get your custom data onto the receipt...

In your add-in: session.Variable(1) session.Variable(2) session.Variable(3) session.Variable(4) ... session.Variable(10)

in Receipt.xml: Session.Variable1 Session.Variable2 Session.Variable3 Session.Variable4 ... Session.Variable10

Glenn Adams Tiber Creek C> I want to change a some text on receipt, I had posted this 3-4 times but

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required