Forums / Addon Payment Modules / CyberSource payment module error: Missing argument 2 for insertsignature()

CyberSource payment module error: Missing argument 2 for insertsignature()

Locked

Started by carlosferrandis on 22 Jul 2006, 6:27 PM · Views: 2,123

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Jul 2006, 6:27 PM
#1
carlosferrandis avatar

carlosferrandis

New Zenner

Join Date:
Feb 2006
Posts:
15
Plugin Contributions:
0

CyberSource payment module error: Missing argument 2 for insertsignature()

Hello everybody

I got this error on the step 3/3 (order confirmation), Does anybody knows how to solve that?

Warning: Missing argument 2 for insertsignature() in /home/antonio/public_html/sales/includes/modules/payment/cybersource/HOP.php on line 176

thanks

Carlos

26 Sep 2006, 12:00 AM
#2
settsu avatar

settsu

New Zenner

Join Date:
Sep 2005
Posts:
1
Plugin Contributions:
0

Re: CyberSource payment module error: Missing argument 2 for insertsignature()

I got this in a client installation and since they will only be processing and shipping orders to the USA, I simply removed "$currency". The default currency for CyberSource is USD (US Dollars).

So now this line in HOP.php:
#function InsertSignature($amount, $currency) {

looks like this:
#function InsertSignature($amount) {

Eliminated the error for me, though I don't consider this a permanent solution...