Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Payment problems still.. WorldPay...

Quote Reply
Payment problems still.. WorldPay...
Mmm.. I just added the following into postback.cgi (just before the main() call);

Code:
use Data::Dumper;
my $val = Dumper($IN->param);

require GT::Mail;
$GT::Mail::error ||= ''; # Silence -w
GT::Mail->send (
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
from => 'andy@ultranerds.com',
subject => "Your Order Status",
to => 'andy@ultranerds.com',
msg => "<pre>" . $val . "</pre>",
debug => $Links::DEBUG,
type => 'text/html'
) or Links::fatal ("Unable to send mail: $GT::Mail::error");

.. but all that gives me is;

Code:
$VAR1 = 'testMode';
$VAR2 = 'authCost';
$VAR3 = 'currency';
$VAR4 = 'address';
$VAR5 = 'countryString';
$VAR6 = 'callbackPW';
$VAR7 = 'installation';
$VAR8 = 'fax';
$VAR9 = 'countryMatch';
$VAR10 = 'transId';
$VAR11 = 'AVS';
$VAR12 = 'amountString';
$VAR13 = 'postcode';
$VAR14 = 'msgType';
$VAR15 = 'name';
$VAR16 = 'tel';
$VAR17 = 'transStatus';
$VAR18 = 'desc';
$VAR19 = 'cardType';
$VAR20 = 'lang';
$VAR21 = 'transTime';
$VAR22 = 'authAmountString';
$VAR23 = 'authAmount';
$VAR24 = 'ipAddress';
$VAR25 = 'cost';
$VAR26 = 'instId';
$VAR27 = 'amount';
$VAR28 = 'compName';
$VAR29 = 'country';
$VAR30 = 'MC_callback';
$VAR31 = 'rawAuthMessage';
$VAR32 = 'email';
$VAR33 = 'authCurrency';
$VAR34 = 'rawAuthCode';
$VAR35 = 'cartId';
$VAR36 = 'authMode';

I've also trid dumping $IN->params, but that spews up an error.

The email gets sent with $IN->param, but all the dump holds is;

Code:
$VAR1 = bless( {
'p' => '',
'nph' => 0,
'_debug' => 0
}, 'GT::CGI' );

Anyone got any ideas? Maybe something WorldPays end? I've got it working on the same domain on another installation... which is making me even more confused Unimpressed

TIA for any help.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!