Zen Cart Logo
Forums / Addon Payment Modules / 2CheckOut for Zen 1.3.0.2 Released

2CheckOut for Zen 1.3.0.2 Released

Views: 92,729

Results 141 to 152 of 152
24 Sep 2011, 6:23 PM
#141
undeadzed avatar

undeadzed

New Zenner

Join Date:
Jul 2011
Posts:
15
Plugin Contributions:
0

2CheckOut for Zen 1.3.0.2 Released

r189:

Wow!

That would most appreciated, whenever you can would be wonderful.

Thanks

Ric

I will probably write a major update to this payment module in the future to integrate with 2Checkout's back office API and Pass through Products parameter set but until then feel free to try this out.
https://github.com/undeadzed/ZC-INS-Update

24 Sep 2011, 6:30 PM
#142
undeadzed avatar

undeadzed

New Zenner

Join Date:
Jul 2011
Posts:
15
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

jgalbraith:

I have tried everything I have found (removing s from https line 181) but I still keep getting this error when using 2checkout... MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR_HASH_MESSAGE

Thank you in advance for your time and attention to helping me with this issue :smile:

If you are placing live sales, this indicates that some information is not matching up, most likely the secret word that you have setup in ZC does not match the secret word set on your 2Checkout Site Management page. Also, please set your return method in 2Checkout to "Given links back to my Website" for testing purposes.

If you are placing demo sales, this error will always get thrown as 2Checkout intentionally breaks the hash on demo sales by forcing the order number to "1". You have to set demo mode on in your ZC 2Checkout module settings to handle the demo hash calculation.

Please contact 2Checkout support at http://www.2checkout.com/support/ so that your account settings and cart integration can be reviewed.

26 Sep 2011, 11:53 AM
#143
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

Hi I have a question before I deicde to switch to 2checkout,

Right now I use moneybookers but the uer interface is not good, further, it has a big bug if you sell downloadable items.

If customer make a false payment, it will still re-direct to checkout success page which allow customers to download products while there is no payment at all.

the correct logic is the system should check if payment is successful before it decides to re-direct customers to success page or failure page.

I am wondering if 2checkout has this kind of problem or not or is there anybody report the similar problem before.

Thank you!

13 Oct 2011, 12:48 AM
#144
ranger_lp avatar

ranger_lp

Zen Follower

Join Date:
Feb 2004
Location:
New York
Posts:
269
Plugin Contributions:
1

Re: 2CheckOut for Zen 1.3.0.2 Released

I'm using ZC 1.3.9d, once again I have not received confirming email on 2checkout purchases from Zen Cart nor does the purchase display in ZC (shows up in recovered sales cart). The transaction goes through on 2CO side and we get email from them. Anyone else dealing with this? What should I look for and do? I reinstalled the payment module and the same issues have occurred. I also verified that the return address points to process_2checkout.php and direct returns radio button on 2CO site has been selected. When we tested this, at the end of the transaction, it did not return us to the website.

Tony

22 Oct 2011, 2:47 AM
#145
gtalwar avatar

gtalwar

New Zenner

Join Date:
May 2008
Posts:
7
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

Hello ranger_lp even I am facing the same issue, I am using 2Co and can only see the orders in recover cart sales and don't get any emails from zencart, I am using Ver 1.3.9f

30 Oct 2011, 10:56 AM
#146
gtalwar avatar

gtalwar

New Zenner

Join Date:
May 2008
Posts:
7
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

Hi .. I am still awaiting help, I am using 2Co and I don't get any emails from zencart nor do I see the order in admin, however I only receive mails from 2Co on successful orders, I am using Ver 1.3.9f
PS: I can see the details in recover cart sales but cant move them to orders

30 Oct 2011, 11:46 AM
#147
gtalwar avatar

gtalwar

New Zenner

Join Date:
May 2008
Posts:
7
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

gtalwar:

Hi .. I am still awaiting help, I am using 2Co and I don't get any emails from zencart nor do I see the order in admin, however I only receive mails from 2Co on successful orders, I am using Ver 1.3.9f
PS: I can see the details in recover cart sales but cant move them to orders
This is working now.....

9 Dec 2011, 11:42 PM
#148
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

I have Easy Populate 1.2.5.4 installed on my zencart. How to download a copy of your products table to a CSV file? Should I click "
Download Complete tab-delimited .txt file to edit (Attributes Not Included)
"?

I don't quite understand how to use Easy Populate....

9 Jan 2012, 11:27 AM
#149
undeadzed avatar

undeadzed

New Zenner

Join Date:
Jul 2011
Posts:
15
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

2Checkout does not require that you setup your products in your 2Checkout account if you are using a third party shopping cart such as Zencart. Zencart will pass the product details in on each sale automatically using this extension.

1 Feb 2012, 6:01 PM
#150
ivanna avatar

ivanna

Zen Follower

Join Date:
Jan 2011
Location:
Texas, USA
Posts:
171
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

I am installing 2checkout on my zencart shopping cart

I have put the files in their correct positions and I can see the module in Modules, Payments but one thing is unclear to me in the instruction.
Where is the database_update.sql file and how do I run it

thank you
Ivanna

15 Aug 2012, 3:20 PM
#151
2checkout avatar

2checkout

New Zenner

Join Date:
Aug 2012
Posts:
3
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

The latest release of this module no longer requires you to run this query so you can just install in the Zencart admin.

12 Jun 2014, 1:56 PM
#152
nem3ace avatar

nem3ace

New Zenner

Join Date:
Jun 2014
Posts:
2
Plugin Contributions:
0

Re: 2CheckOut for Zen 1.3.0.2 Released

This is a fix if you are using multiple sites with 2checkout. 2checkout allows you to have 5 websites on your account.
If you checkout using an addon domain, it does not redirect you to your addon domain.
So change your process_2checkout.php the the following:

<?php

require('includes/application_top.php');

$ssl_str = 'NONSSL';
if (ENABLE_SSL != 'false') {
    $ssl_str = 'SSL';
}

//bOF Super 2Checkout Multisites
$this2checkoutbaseurl = "http://www.myurl.com/process_2checkout.php";
$thisreceivedurl = $_REQUEST['x_receipt_link_url'];
if($thisreceivedurl != $this2checkoutbaseurl) {
$originwithparams = $thisreceivedurl;

$co_idrd 		= $_REQUEST['merchant_order_id'];
$resultrd 	= $_REQUEST['credit_card_processed'];
$return_mdrd 	= $_REQUEST['key'];
$co_order_idrd	= $_REQUEST['order_number'];

$this2coparams = "?merchant_order_id=" . $co_idrd . "&credit_card_processed=" . $resultrd . "&key=" . $return_mdrd . "&order_number=" . $co_order_idrd;

header('Location: ' . $originwithparams . $this2coparams);

//FIREFOX FIX
$redirect_url2c0 = $originwithparams . $this2coparams;
?>
<body>
<script type="text/javascript" language="javascript">window.location="<?php echo $redirect_url2c0; ?>"</script>
<noscript>
If you are not redirected please <a href="<?php echo $redirect_url2c0; ?>">click here</a> to confirm your order.
</noscript>
</body>
<?php
exit;
}
//eOF Super 2Checkout Multisites

$co_id 		= $_REQUEST['merchant_order_id'];
$result 	= $_REQUEST['credit_card_processed'];
$return_md 	= $_REQUEST['key'];
$co_order_id	= $_REQUEST['order_number'];
$hash_order_id	= $co_order_id;
$order = $db->Execute("select amount from " . TABLE_2CHECKOUT . " where 2co_id = '" . $co_id . "'");
$order_value = number_format($order->fields['amount'], 2, '.', '');



if (MODULE_PAYMENT_2CHECKOUT_TESTMODE == 'Test'){
    $hash_order_id = '1';
}

$check_string = MODULE_PAYMENT_2CHECKOUT_SECRET_WORD . MODULE_PAYMENT_2CHECKOUT_LOGIN . $hash_order_id . $order_value;
$check_hash = strtoupper(md5($check_string));
if ($check_hash != $return_md) {
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR_HASH_MESSAGE), $ssl_str, true, false));
}

$checkout = $db->Execute("select session_id from " . TABLE_2CHECKOUT . " where 2co_id = '" . $co_id . "'");
zen_session_id($checkout->fields['session_id']);

$checkout_update = array('finish_time'=>'now()',
                   'status'=>zen_db_prepare_input( $result ),
                   '2co_order_id'=>zen_db_prepare_input( $co_order_id )
                   );

zen_db_perform(TABLE_2CHECKOUT, $checkout_update, 'update', "2co_id = '" . $co_id . "'");

if ($result != 'Y' && $result != 'K') {
    $messageStack->add_session('checkout_payment', MODULE_PAYMENT_UNET_TEXT_DATA_RETURN_ERROR_MESSAGE, 'error');
    $redirect_url = zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', $ssl_str, true, false);
} else {
    $redirect_url = zen_href_link(FILENAME_CHECKOUT_PROCESS, 'cID=' . $co_id, $ssl_str, true, false);
}
//FIREFOX FIX
$redirect_url = str_replace('&', '&', $redirect_url);

?>
<body>
<script type="text/javascript" language="javascript">window.location="<?php echo $redirect_url; ?>"</script>
<noscript>
If you are not redirected please <a href="<?php echo $redirect_url; ?>">click here</a> to confirm your order.
</noscript>
</body>