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

Re: [brewt] Possible bug with WorldPay validation....

Quote Reply
Re: [brewt] Possible bug with WorldPay validation.... In reply to
Thanks for the reply. I don't think thats the problem though. I thought it was to start with, but then I added in a bit of code to email me the output from Dumper($IN), and it gives;

Code:
$VAR1 = bless( {
                 'param_order' => [
                                    'testMode',
                                    'authCost',
                                    'currency',
                                    'address',
                                    'countryString',
                                    'callbackPW',
                                    'installation',
                                    'fax',
                                    'countryMatch',
                                    'transId',
                                    'AVS',
                                    'amountString',
                                    'postcode',
                                    'msgType',
                                    'name',
                                    'tel',
                                    'transStatus',
                                    'desc',
                                    'cardType',
                                    'lang',
                                    'transTime',
                                    'authAmountString',
                                    'authAmount',
                                    'ipAddress',
                                    'cost',
                                    'instId',
                                    'amount',
                                    'compName',
                                    'country',
                                    'MC_callback',
                                    'rawAuthMessage',
                                    'email',
                                    'authCurrency',
                                    'rawAuthCode',
                                    'cartId',
                                    'authMode'
                                  ],
                 'params' => {
                               'cost' => [
                                           '45.0'
                                         ],
                               'postcode' => [
                                               'RH12 3HE'
                                             ],
                               'installation' => [
                                                   '12345'
                                                 ],
                               'testMode' => [
                                               '100'
                                             ],
                               'authMode' => [
                                               'A'
                                             ],
                               'MC_callback' => [
                                                  'www.domain.com/cgi-bin/global/postback.cgi'
                                                ],
                               'lang' => [
                                           'en'
                                         ],
                               'instId' => [
                                             '12345'
                                           ],
                               'ipAddress' => [
                                                '207.135.43.234'
                                              ],
                               'compName' => [
                                               'Ultranerds'
                                             ],
                               'desc' => [
                                           'Test (Lifetime)'
                                         ],
                               'fax' => [
                                          ''
                                        ],
                               'authCurrency' => [
                                                   'USD'
                                                 ],
                               'transId' => [
                                              '82242364'
                                            ],
                               'email' => [
                                            'andy@ultranerds.com'
                                          ],
                               'country' => [
                                              'GB'
                                            ],
                               'rawAuthCode' => [
                                                  'A'
                                                ],
                               'cartId' => [
                                             '4ae9e2db6559bb7e'
                                           ],
                               'countryMatch' => [
                                                   'B'
                                                 ],
                               'transTime' => [
                                                '1092994915061'
                                              ],
                               'authAmountString' => [
                                                       'US$45.00'
                                                     ],
                               'transStatus' => [
                                                  'Y'
                                                ],
                               'amount' => [
                                             '45.0'
                                           ],
                               'msgType' => [
                                              'authResult'
                                            ],
                               'name' => [
                                           'A.J.Newby'
                                         ],
                               'authCost' => [
                                               '45.0'
                                             ],
                               'countryString' => [
                                                    'United Kingdom'
                                                  ],
                               'currency' => [
                                               'USD'
                                             ],
                               'AVS' => [
                                          '0000'
                                        ],
                               'callbackPW' => [
                                                 'sufgk49Wi3'
                                               ],
                               'amountString' => [
                                                   'US$45.00'
                                                 ],
                               'authAmount' => [
                                                 '45.0'
                                               ],
                               'rawAuthMessage' => [
                                                     'cardbe.msg.testSuccess'
                                                   ],
                               'cardType' => [
                                               'Visa'
                                             ],
                               'address' => [
                                              'ogj pgwe
tjwt
wetwet'
                                            ],
                               'tel' => [
                                          '01403 123123'
                                        ]
                             },
                 'p' => '',
                 'nph' => 0,
                 '_debug' => 0,
                 'cookies' => {},
                 'data_loaded' => 1
               }, 'GT::CGI' );


Unsure

This is why I'm so confused. The script is running ok, sending me the email, and it even seems to be updating the lsql_Payments table (setting payment_status to 3).

The only thing I can, which could be the problem, is;

Quote:
GT::SQL::Driver::MYSQL::sth (15085): Executing query: INSERT INTO lsql_PaymentLogs (paylogs_type,paylogs_time,paylogs_text,paylogs_payments_id,paylogs_id) VALUES (3,1092991211,'
','c6988b232bc31a0b',NULL) from Links::Payment::Remote::WorldPay::__ANON__ at /home/.../admin/Links/Payment/Remote/WorldPay.pm line 213

I can send over FTP/SSH details if required (my head is just about ready to explode with this one Pirate).

TIA

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!
Subject Author Views Date
Thread Possible bug with WorldPay validation.... Andy 3535 Aug 19, 2004, 10:18 AM
Thread Re: [Andy] Possible bug with WorldPay validation....
ryel01 3458 Aug 19, 2004, 1:15 PM
Thread Re: [ryel01] Possible bug with WorldPay validation....
Andy 3460 Aug 20, 2004, 12:45 AM
Thread Re: [Andy] Possible bug with WorldPay validation....
brewt 3445 Aug 20, 2004, 1:18 AM
Thread Re: [brewt] Possible bug with WorldPay validation....
Andy 3436 Aug 20, 2004, 1:22 AM
Thread Re: [Andy] Possible bug with WorldPay validation....
brewt 3459 Aug 20, 2004, 2:57 AM
Post Re: [brewt] Possible bug with WorldPay validation....
Andy 3418 Aug 20, 2004, 3:08 AM
Post Re: [brewt] Possible bug with WorldPay validation....
Andy 3418 Aug 20, 2004, 2:55 AM
Thread Re: [Andy] Possible bug with WorldPay validation....
brewt 3479 Aug 19, 2004, 1:40 PM
Post Re: [brewt] Possible bug with WorldPay validation....
Andy 3521 Aug 20, 2004, 12:51 AM