Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

2Checkout reports all sales failed even when 2 checkout cleared

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 03-28-2014, 12:42 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

Please click the ">>>" for the "18:59 Payment transaction [method: 2Checkout.com, type: sale, amount: 1, status: Failed] [web]" line - this should show more information on the issue.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #12  
Old 03-28-2014, 12:53 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

ok will check it as soon as I get in this evening
much appreciated
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #13  
Old 03-28-2014, 01:09 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

it is MD5 but the secret words are Identical
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #14  
Old 03-28-2014, 01:59 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

If you copy&pasted the secret word, it could add extra characters (like line-ending) to it. Try to enter the secret word letter by letter.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #15  
Old 03-28-2014, 02:10 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

I have typed them both in manually at both ends no extra characters or spaces
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #16  
Old 03-28-2014, 02:11 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

I will try again
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #17  
Old 03-28-2014, 02:38 AM
 
Ruslan Ruslan is offline
 

X-Cart team
  
Join Date: Jul 2013
Posts: 30
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

We made some fixes.
Please try to replace your classes/XLite/Module/CDev/TwoCheckout/Model/Payment/Processor/TwoCheckout.php file with the TwoCheckout.php in the attachments (make backup of the original file before the replacement).

Also we add logs for 2co. Make developer_mode = on in your etc/config.php file. Place order with 2co and check your var/log folder. There should be log files for TwoCheckout. Please, share logs with us.
Attached Files
File Type: php TwoCheckout.php (11.4 KB, 148 views)
__________________
X-Cart 5
Reply With Quote
  #18  
Old 03-28-2014, 06:59 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

OK Tried all this and still no luck - developer mode turned on.... DO I need to refresh the Cache to get it active ?
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #19  
Old 03-28-2014, 07:04 AM
 
Ruslan Ruslan is offline
 

X-Cart team
  
Join Date: Jul 2013
Posts: 30
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

Quote:
OK Tried all this and still no luck - developer more turned on.... DO I need to refresh the Cache to get it active ?

Yes, I forgot to notice it.
__________________
X-Cart 5
Reply With Quote
  #20  
Old 03-28-2014, 07:21 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: 2Checkout reports all sales failed even when 2 checkout cleared

OK this is the log from 2 checkout file

<?php die(); ?>
[08:17:17.000000] array (
'fields' =>
array (
'sid' => '[EDITED BY FORUM MODERATOR] ',
'total' => '1.00',
'cart_order_id' => 34,
'merchant_order_id' => 'WeMake-20140000024',
'pay_method' => 'CC',
'lang' => 'en',
'skip_landing' => '1',
'card_holder_name' => '[EDITED BY FORUM MODERATOR]',
'street_address' => '[EDITED BY FORUM MODERATOR]',
'city' => '[EDITED BY FORUM MODERATOR]',
'state' => 'XX',
'zip' => '[EDITED BY FORUM MODERATOR]',
'country' => 'GB',
'email' => '[EDITED BY FORUM MODERATOR]',
'phone' => '[EDITED BY FORUM MODERATOR]',
'fixed' => 'Y',
'id_type' => '1',
'sh_cost' => '0.00',
'ship_name' => '[EDITED BY FORUM MODERATOR]',
'ship_street_address' => '[EDITED BY FORUM MODERATOR]',
'ship_city' => '[EDITED BY FORUM MODERATOR]',
'ship_state' => 'XX',
'ship_zip' => '[EDITED BY FORUM MODERATOR]',
'ship_country' => 'GB',
'c_prod' => '130,1',
'c_name' => 'TEST',
'c_price' => '1.00',
'c_description' => 'test',
),
)
Runtime id: 60d283180776d9c54c6ab14abfbbf357
SAPI: cgi-fcgi; IP: 94.72.249.26
URI: /shop2014/?target=checkout

[08:17:17.000000] array (
'fields' =>
array (
'sid' => '[EDITED BY FORUM MODERATOR] ',
'total' => '1.00',
'cart_order_id' => 34,
'merchant_order_id' => 'WeMake-20140000024',
'pay_method' => 'CC',
'lang' => 'en',
'skip_landing' => '1',
'card_holder_name' => '[EDITED BY FORUM MODERATOR]',
'street_address' => '[EDITED BY FORUM MODERATOR]',
'city' => '[EDITED BY FORUM MODERATOR]',
'state' => 'XX',
'zip' => '[EDITED BY FORUM MODERATOR]',
'country' => 'GB',
'email' => '[EDITED BY FORUM MODERATOR]',
'phone' => '[EDITED BY FORUM MODERATOR]',
'fixed' => 'Y',
'id_type' => '1',
'sh_cost' => '0.00',
'ship_name' => '[EDITED BY FORUM MODERATOR]',
'ship_street_address' => '[EDITED BY FORUM MODERATOR]',
'ship_city' => '[EDITED BY FORUM MODERATOR]',
'ship_state' => 'XX',
'ship_zip' => '[EDITED BY FORUM MODERATOR]',
'ship_country' => 'GB',
'c_prod' => '130,1',
'c_name' => 'TEST',
'c_price' => '1.00',
'c_description' => 'test',
),
)
Runtime id: 60d283180776d9c54c6ab14abfbbf357
SAPI: cgi-fcgi; IP: 94.72.249.26
URI: /shop2014/?target=checkout

[08:18:04.000000] array (
'request' =>
array (
'target' => 'payment_return',
'middle_initial' => '',
'sid' => '[EDITED BY FORUM MODERATOR]',
'fixed' => 'Y',
'cart_weight' => '0',
'key' => '[EDITED BY FORUM MODERATOR]',
'state' => 'XX',
'last_name' => '[EDITED BY FORUM MODERATOR]',
'email' => '[EDITED BY FORUM MODERATOR]',
'city' => '[EDITED BY FORUM MODERATOR]',
'street_address' => '[EDITED BY FORUM MODERATOR]',
'cart_order_id' => '34',
'order_number' => '[EDITED BY FORUM MODERATOR]',
'ip_country' => 'United Kingdom',
'country' => 'GBR',
'merchant_order_id' => 'WeMake-20140000024',
'cart_id' => '34',
'currency_code' => 'GBP',
'lang' => 'en',
'demo' => 'N',
'invoice_id' => '[EDITED BY FORUM MODERATOR]',
'pay_method' => 'CC',
'cart_tangible' => 'N',
'total' => '1.00',
'phone' => '[EDITED BY FORUM MODERATOR]',
'credit_card_processed' => 'Y',
'zip' => '[EDITED BY FORUM MODERATOR]',
'street_address2' => '',
'first_name' => '[EDITED BY FORUM MODERATOR]',
'card_holder_name' => '[EDITED BY FORUM MODERATOR]',
),
)
Runtime id: e6277d422d46ff316753471b29f4d6de
SAPI: cgi-fcgi; IP: 64.128.115.196
URI: /shop2014/cart.php

[08:18:04.000000] array (
'non_crypt_calculated' => '[EDITED BY FORUM MODERATOR]',
)
Runtime id: e6277d422d46ff316753471b29f4d6de
SAPI: cgi-fcgi; IP: 64.128.115.196
URI: /shop2014/cart.php

[08:18:04.000000] array (
'crypt_calculated' => '3146F4740A16287D39637FF938B832CB',
)
Runtime id: e6277d422d46ff316753471b29f4d6de
SAPI: cgi-fcgi; IP: 64.128.115.196
URI: /shop2014/cart.php


thanks
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build

Last edited by xplorer : 03-29-2014 at 03:57 AM.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:53 AM.

   

 
X-Cart forums © 2001-2020