Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
CARDSAVE ERROR
Posted: 08 June 2012 12:19 AM   [ Ignore ]
Wallflower
Avatar
Rank
Total Posts:  5
Joined  2011-06-21

Hi,

I’m using cardsave as the payment gateway and we’ve been having some errors, I spoke to cardsave support and they recommended contacting you.

To start the only code I have changed is the follow from:

$val urlencode(stripslashes(str_replace("\n""\r\n"$val))); 

to this:

if ($key != ('TransactionDateTime' || 'ServerResultURL')) {
    $val 
urlencode(stripslashes(str_replace("\n""\r\n"$val)));
   
else {
    $val 
stripslashes(str_replace("\n""\r\n"$val)); 
   
}

starting on line 152 in Cartthrob_cardsave_server.php

the reason for the change was that before the change I was getting the following error:

  Passed variable TransactionDateTime [2012-06-08+09:14:51++01:00] is type invalid
  Passed variable ServerResultURL [http://preview.logodesign.co.uk/carvier.local/themes/third_party/cartthrob/lib/extload.php/cardsave_server/result] is type invalid

With my change I don’t get this error anymore, and I can continue to go through without any trouble, however once the payment has been verified it doesn’t redirect and 20 or so minutes later I get the following email:

*** PLEASE READ THIS EMAIL *CAREFULLY* AND *COMPLETELY* - IT CONTAINS IMPORTANT INFORMATION FOR BOTH THE MERCHANT AND THE DEVELOPER ***

Hello,

You are receiving this email as an error occurred whilst processing a payment using our hosted payment form solution. We were unable to successfully deliver the transaction result to your system. This could have been caused by a network problem (e.g. a connection timeout), or an error occurring on your ServerResultURL page. Please see the end of this email for more details about this error.

As this error happened after the transaction was processed, we suppressed it from the customer, and displayed the transaction result to them on our system.

Here is the result of this transaction:
StatusCode: 0
Message: AuthCode: 771220
CrossReference: 120608074354455502198932
OrderID: 110
Amount : 250.00 GBP

We recommend that you log into the MMS (https://mms.cardsaveonlinepayments.com) and verify the result against our record of the transaction in the transaction history page.

Thank You,
CardSave

———————————————————————————-
Additional detailed information relating to this error:

Response from ServerResultURL:
——RECEIVED RESPONSE BEGIN——
StatusCode=30&Message=AuthCode: 771220
——RECEIVED RESPONSE END——

Any help is appreciated!

Thanks in advance,

Alex

Profile
 
 
Posted: 09 June 2012 11:29 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

Send me EE and FTP login information and I’ll run tests and fix.

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 12 June 2012 11:56 PM   [ Ignore ]   [ # 2 ]
Wallflower
Avatar
Rank
Total Posts:  5
Joined  2011-06-21

Hi Chris,

Have you received the information you requested? I sent them in a PM but my sent folder is showing no sent messages?...

Profile