Checkout : a new version of Checkout modules

jayhen

Joined: 2007-02-12
Posts: 159
Posted: Wed, 2007-05-23 22:19

Allan,
I hope someone else out there can give you the tips necessary, it's not hard to do. I have to concentrate on the next version.

 
yke

Joined: 2007-05-28
Posts: 1
Posted: Mon, 2007-05-28 16:49

I would like a feature where the shopping cart is saved between multiple sessions. At least in 0.1.14, the shopping cart clears when I log out.

 
enriqueavila

Joined: 2007-05-30
Posts: 19
Posted: Mon, 2007-06-04 19:19

Is this one going to work with the checkout2co module?.....
Anyways I'm having a lot of difficulties with the checkout2co module maybe someone can help me... I've been posting and posting and no one seems to care or answer maybe here.
This is what happens (you can also check this one http://gallery.menalto.com/node/65258)

1) downloaded the checkout module and installed it, set the business name, the dollar sign and the products (actually since im going to sell royalty free photographs i just set royaltyfree as a product and its price)
2) downloaded the checkout2co module and set the sid (seller's ID, currency type and set it to work on real mode)
3) I don't know if I have to create custom fields as well.. since there's no documentation on the checkout2co module, I did the same as if it was a paypal module (checkoutpricing and checkoutproducts)... anyways with or without them its still not working.
4) The issue that I'm having is that after I click on continue to checkout, it sends me to the 2checkout website but with a parameter error....
I identified it is because it is not showing the TOTAL.
When I checked the source from the html this is what it shows:

<form action="https://www.2checkout.com/2co/buyer/purchase" method="post">
<input type="hidden" name="sid" value="1228044" />
<input type="hidden" name="cart_order_id" value="475" />
<input type="hidden" name="total" value="" />
<input type="hidden" name="sh_cost" value="0.00" />
<input type="hidden" name="tco_currency" value="USD" />
<input type="hidden" name="lang" value="sp" />
<input type="hidden" name="id_type" value="1" />
<input type="hidden" name="fixed" value="Y" />
<input type="hidden" name="pay_method" value="CC" />
<input type="image" src="../logo_2co.gif" name="submit" alt="Ir a 2checkout" />

There is no value for the total, if i modify it and save it and upload it to my server and try to open the modified file with a value in the total it works fine.
what can i do in order to make it work..I'm a photographer, not a programmer so I'm so noob and need assistance.
I've been posting and no one answers me ....

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Mon, 2007-06-04 19:35

enriqueavila - which version of checkout are you using? The checkout2co will only work with the current stable release, available from sourceforge.

This thread is to announce/discuss the next version of checkout which is under development, and currently not compatible with the checkout2co module (which I've never tried). The compatibility issue with the other checkout modules is being worked on, however if the checkout2co module doesn't work for another reason, it won't be fixed with the next version of checkout.

 
enriqueavila

Joined: 2007-05-30
Posts: 19
Posted: Mon, 2007-06-04 19:37

the checkout module i'm using is checkout_v0.1.14.
and as I said before, I don't know what else to do or if there are any other alternatives to gallery because no one seems to be able to assist me... any help will be really appreciated.

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Mon, 2007-06-04 19:48

The best advise I can offer at this point is to try one of the other payment options. If you are using it for commercial reasons and/or can afford to pay for the help, you could always offer to pay someone in the Services forum. If you wait a long time I'll probably get on to it at some point!

 
enriqueavila

Joined: 2007-05-30
Posts: 19
Posted: Mon, 2007-06-04 19:55

:( thanks but the thing is that I'm broke.. thats why i needed some way to sell my photographs online...2checkout is the only option in my country (el salvador)...
and I'm a photographer not a programmer so I really don't know what to do at this point.. I tried to contact the developer, no answer. Post in the forums and no replies... I don't know why they didn't create some type of documentation when they released that module.
The worst is that I know that maybe it would be a small modification or something I missed in order to make it work because everything seems to be working, it sends the sid (sellers ID) and everything its just the total ... but once again I don't know Im a total noob at this.
Thanks anyways... once again if someone knows how to make it work please let me know ...

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2007-06-10 03:54

enriqueavila

Have you had a look at zencart? This is a commercial grade opensource cart system and there is a working G2 module for it. Just remember to use Zencart 1.2.7 and not the current version which will be 1.3.something.

There are a host of payment modules you can use with it and I think 2checkout is available.
.
Gallery Version: 2.2.1
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
peterg2

Joined: 2007-06-18
Posts: 4
Posted: Tue, 2007-06-19 04:52

Hi, I installed g2 on mssql and it work perfectly but I have the error as below with the checkout module, could it possilbe not supported with the mssql?

since the problem, I tested on mysql, it works fine...

I have been in the forum and seen your post on storage error, any idea on the problem?

Error Detail -
Error (ERROR_STORAGE_FAILURE)
in modules\core\classes\GalleryStorage.class at line 480 (GalleryCoreApi::error)
in modules\core\classes\Gallery.class at line 202 (GalleryStorage::search)
in modules\checkout\classes\CheckoutTransactionHelper.class at line 115 (Gallery::search)
in modules\checkout\Confirm.inc at line 91 (CheckoutTransactionHelper::purgeDeadTransactions)
in main.php at line 231 (ConfirmController::handleRequest)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.1
PHP version 5.2.2 cgi-fcgi
Webserver Microsoft-IIS/6.0
Database ado_mssql Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Toolkits ImageMagick, Thumbnail, Gd
Operating system Windows NT IX2 5.2 build 3790
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; WOW64; Data Center; SV1; .NET CLR 2.0.50727)

please delete this if I posted in the wrong place...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-06-19 11:02

peterg2

please enable "buffered" debug mode and post a new topic in the support (troubleshoot) forums to discuss your problem.
FAQ: How to set/use Gallery in debug mode?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
cfracer

Joined: 2007-06-20
Posts: 1
Posted: Wed, 2007-06-20 02:47

Hi, I'm new to gallery2 and I see there are some improvments to the checkout module from 0.1.14. Where can I get this latest download? I did find an attachment but that was back in March and it seems that alot of changes have been made/ discussed since then. This new version seems to be what I am looking for and any help would be greatly appreciated.
Thanks in advance
Cfracer

 
eklipsse

Joined: 2007-06-19
Posts: 7
Posted: Fri, 2007-06-22 02:23

Peter I got a similar error after upgrading from 2.2.1 to 2.2.2
I actually had to delete the checkout paypal module to be able to finish my upgrade. I reuploaded the module and then I get the error when I try to install checkoutpaypal plugin.
The checkout module itself installs just fine.

I don't know if this helps as a hint or not.
Attached is the full error log and below the main error message.
Regards,
Lucian

Database Error
An error has occurred while interacting with the database.

The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Back to the Gallery

Error Detail -
Error (ERROR_STORAGE_FAILURE) : No map or entity description for: CheckoutPaypalIPN
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1307 (gallerycoreapi::error)
in modules/core/classes/GalleryStorage.class at line 740 (gallerystorageextras::configurestore)
in modules/core/classes/GalleryModule.class at line 146 (mysqlstorage::configurestore)
in modules/core/PluginCallback.inc at line 236 (checkoutpaypalmodule::installorupgrade)
in modules/core/PluginCallback.inc at line 73 (plugincallbackview::handlecallback)
in main.php at line 433 (plugincallbackview::renderimmediate)
in main.php at line 94
in main.php at line 83

Edit:
This is where the code actually fails ( line 1306 in GalleryStorageExtras.class ):

/*
* Now take care of the rest of the tables. If the table doesn't exist, apply the current
* table definition. If it already exists, check to see if there is an upgrade available
* for the given table version that we should apply based on $upgradeInfo.
*/
foreach ($moduleSql['table'] as $rawTableName => $sql) {
$gallery->guaranteeTimeLimit(20);
list ($tableName, $unused, $tableNameInSchema) =
$this->_gs->_translateTableName($rawTableName);

$type = $info = null;
if ($canStoreTableInfo) {
if (isset($mapInfo[$rawTableName])) {
$type = 'map';
$info = serialize(array($rawTableName => $mapInfo[$rawTableName]));
} else if (isset($entityInfo[$rawTableName])) {
$type = 'entity';
$info = serialize(array($rawTableName => $entityInfo[$rawTableName]));
} else {
if (!in_array($tableNameInSchema, array('Schema', 'Lock'))) {
return GalleryCoreApi::error(ERROR_STORAGE_FAILURE, __FILE__, __LINE__,
"No map or entity description for: $tableNameInSchema");

}
}
}

 
lthuynh

Joined: 2006-10-05
Posts: 10
Posted: Sat, 2007-06-23 05:28

eklipsse,

Did you solve your database error? I'm having the same problem http://gallery.menalto.com/node/66073

 
eklipsse

Joined: 2007-06-19
Posts: 7
Posted: Sat, 2007-06-23 13:38

No, I got nothing so far. I will post if I figure it out but it doesnt seem like I am getting any closer. I hope someone will have a clue regarding what is going on, as it seems that I don't :-)

Cheers,
Lucian

 
robfoulk

Joined: 2005-10-11
Posts: 1
Posted: Sun, 2007-06-24 14:01
eklipsse wrote:
Peter I got a similar error after upgrading from 2.2.1 to 2.2.2
I actually had to delete the checkout paypal module to be able to finish my upgrade. I reuploaded the module and then I get the error when I try to install checkoutpaypal plugin.
The checkout module itself installs just fine.

I don't know if this helps as a hint or not.
Attached is the full error log and below the main error message.
Regards,
Lucian

Well, if it makes anyone feel any better I fought the same problem last night. Unfortunatly, I didn't come up with a solution and ended up restoring from a backup.

I'll keep digging and post if I find anything.

Rob

 
peterg2

Joined: 2007-06-18
Posts: 4
Posted: Tue, 2007-06-26 11:33

The error that [/i]I had related to accessing mysql. However for those upgrading gallery 2.2.2, the checkoutpaypal module is currently not working at the moment, maybe the later update of the module will address this problem... [i]I haven't found a fix for this yet.

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Wed, 2007-06-27 15:28

I haven't looked into testing the current version of checkout with G2.2.2, but I can tell you that the upcoming release of checkout (0.1.17) and the other checkout plugins work fine.

Jay

 
eklipsse

Joined: 2007-06-19
Posts: 7
Posted: Thu, 2007-06-28 12:41

Jay, thanks for your reply and the great work you put into developing this module. I was wondering if there is any way to get my hands onto 0.1.17, or is it not ready for public testing yet.
Cheers,
Lucian

 
Space87

Joined: 2007-06-28
Posts: 1
Posted: Thu, 2007-06-28 15:41

hey there i installed checkout and it looks all good but when i click checkout it only comes up with one buttoncalled modify no way of paying for the item, also when trying to install paypal checkout comes up awith database errors, im runing latest version on gallery

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Thu, 2007-06-28 16:17

I'm currently constrained by external factors, no previews sorry. but checkout 0.0.17 Release Candidate should be out within the next few days.

 
eklipsse

Joined: 2007-06-19
Posts: 7
Posted: Thu, 2007-06-28 16:59

Looking forward to it. Thanks Jay!

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Fri, 2007-06-29 02:25

[drumroll][/drumroll]

Ladies and Gentlemen, you'll be happy to know that the new checkout modules can be found on this thread.

Jay (Elucidos)

 
brujji

Joined: 2007-02-11
Posts: 47
Posted: Sun, 2007-07-01 10:09

Hello there,

I was just wandering if the new checkout module is compatible with the google checkout module, and if so, does it provide the level2 integration from google? Thanks a lot

Ana
Gallery 2.2.2

 
Spider_Mycron

Joined: 2009-08-11
Posts: 39
Posted: Fri, 2009-08-14 16:55

hello,
any chance to get help about setting 2checkout please ?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2009-08-14 17:31
Quote:
any chance to get help about setting 2checkout please ?

Anyone else is welcome to chip in, but as far as I know there's no way to use "2checkout" with Gallery2. And definitely not with the Checkout series of modules, for which I'm the current author/maintainer.