Paypal checkout module (it's done!)

LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-07-05 18:05

OK, good idea ... I try to recover my old .htaccess and compare to the new one
CU and Thanks

Lutz

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-07-07 08:21

turnbulm, just for your info - your handling of the short URL is perfect, there was a small glitch in the short-url generator class for Windows/php environments (fixed in the latest CVS by pelle)

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Thu, 2005-07-07 08:43

LFrank- thanks for letting me know that. So just to check, your thumbnails now all work OK?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-07-07 09:52

turnbulm, absolutely perfect - all modules work like a charm. I assume conflicting entries in my .htaccess induced the permission issue with the thumbs on my Windows/Apache/PHP setup.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-07-08 21:25

great work!

i've seen that the current downloads are here:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=27789&postdays=0&postorder=asc&start=150#149817

couldn't you guys organize things and have the newest downloads in the first post of this topic and add a overview what the modules do, add a list of all featues etc?

that would be great. meanwhile i add the link http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=27789&postdays=0&postorder=asc&start=150#149817 to the user contributions page.

 
highpulse
highpulse's picture

Joined: 2004-05-15
Posts: 45
Posted: Sat, 2005-07-09 00:35

I have been poking around this great addition to "gallery" and have started customizing each page of the email module. It is going great and I am even learning something as I go.

My first comment;

In the "comment" box of the email details page, is there a way to make the box a little larger and turn on word-wrap? In the email that is sent to seller and buyer, the word-wrap needs to be turned on there too. If someone has a lot to say, it is all in one long line.

Second comment;

When I receive the email from gallery about the order in incredimail, when I click on the thumbnail, the link goes right to the actual picture properly. But, when I clicked on the thumbnail in MSN Hotmail, the link only goes to the home page of my gallery. Hotmail is HTML enabled. No real big deal but an observation.

If you would like to see my test site, it is at:

G2 Test Site

You can make an order using the email option but NOT THE PAYPAL option. I will just delete the email that I receive. This is for test purpose only for the next week or so.

 
Roshlin

Joined: 2004-09-14
Posts: 70
Posted: Sat, 2005-07-09 17:48

Hi turnbulm, :D

Excellent job, just downloaded the latest version from page 11 of this thread and they work perfect out of the box, thanks a lot and the g2 team also.

This would be my wish list just help me in accomplishing what is possible now and I'll wait for the rest.

1. I would like to translate these scripts in spanish, which would be the right method???.

2. I would like to use this script to print user photos, so I would like to download the files of the order in a zip, or atleast have the link to the file instead of the link to the image in the gallery. Now I have to open the image then click for the original and then click to download. ( This could be useful to others also who sell photos so after collecting the payment they could send the copy of the links to the original images to the customer)

3. there are 2 methods to display the articles, table or dropdown, would it be possible to have a combination of the 2 or have more than one dropdown. Now if a customer wants more than one article with the same photo with the dropdown he can't have them. Maybe we could have the 2 most popular articles in a table and 2 dropdowns to choose from.

4. option checkbox for postage and packing so the customer and choose to collect from shop, by post or courier, each with thier corresponding charges.

Thanks again
Roshlin

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2005-07-09 22:36

Right. I'm back, with a freshly rebuilt dev box. Here's hoping for something a little more stable than last time...

valiant, thanks very much for adding the link to the contributions page - of course the risk is now that more people actually using the module means more bugs for me to fix ;) I'm not sure if dleaberr1 is still watching this thread (it has got a bit big!) so I'll PM him and ask if he could link to my versions from the front post. I'm planning on starting a new thread for the next release anyway, as this thread has got too big and also I think there are likely to be some pretty big changes coming up.

highpulse, I'll have a look at word-wrap for you, but I did think I had it turned on already. I'll investigate and let you know. Regarding the links to the pictures, I don't understand how the mail agent can affect whether the link works correctly or not - after all, it's the same URL in both cases isn't it?

Roshlin, thanks for the comments! To answer your questions:
1. At the moment I've only got the basic framework for different localizations in the scripts, and I don't have a list of the key phrases. I haven't looked in detail at how translations are done, but I think it has to do with a file for each language that contains the key phrases and their local language equivalents. If you were interested in translating the module I'd recommend having a look at how translations are supposed to work (look at one of the other modules) then trying to create the localization files for the checkout module. You can search the '.tpl' files for the string 'g->text' to find the key phrases.

2. This is a two-part answer... first for the zip files that is something I'm planning in the next release. I'm not sure when that will be though, as there are some major changes and a lot of rewrites to do for that. For the link in the email, I'll have a look and see if there is a URL generator for a download link. If there is, I think it would be a good idea to include it in the email so I'll patch the existing module.

3. If you select a product in the dropdown then click 'save changes' you will see how I have handled this. You will start to get a combination of the table view and the dropdown appearing that (I think) does exactly what you are after.

4. Different postage methods are something I'm thinking about, but I'm not sure of the best way to implement this just now. It's probably something that will come out in the next major version, as it fits in with some thoughts I've been having on pricing in general.

 
rakso

Joined: 2003-07-31
Posts: 141
Posted: Sat, 2005-07-09 22:48

When clicking on "add Photo to cart " I get the following error:

Quote:
Error (ERROR_BAD_PARAMETER) :
in modules/core/classes/GalleryView.class at line 158 (SelectProductsView::error)
in modules/checkout/SelectProducts.inc at line 137 (SelectProductsView::loadView)
in modules/core/classes/GalleryTheme.class at line 605 (SelectProductsView::loadTemplate)
in modules/core/classes/GalleryView.class at line 271 (MatrixTheme::loadTemplate)
in main.php at line 285 (SelectProductsView::doLoadTemplate)
in main.php at line 87
in main.php at line 78

Iam using the lastest CVS version of g2 (checkout for about 40min) and the latest versions of the checkout modules.

 
dleaberr1

Joined: 2005-03-17
Posts: 14
Posted: Sat, 2005-07-09 23:33
turnbulm wrote:
I'm not sure if dleaberr1 is still watching this thread (it has got a bit big!) so I'll PM him and ask if he could link to my versions from the front post. I'm planning on starting a new thread for the next release anyway, as this thread has got too big and also I think there are likely to be some pretty big changes coming up.

I still drop by every few days.

The module has progressed far beyond what I ever imagined it would become. Congratulations to turnbulm for being visionary and receptive to suggestions (along with a seemingly limitless amount of free time :)).

Given the drastic changes to the module and the g2 layout/theming engine I will probably not release anymore versions of my module. The torch is passed to turnbulm and whomever else will pick it up. I'm just glad I got the ball rolling.

 
Roshlin

Joined: 2004-09-14
Posts: 70
Posted: Sun, 2005-07-10 00:46

Hi turnbulm,

Thanks for the quick response.
1. I'm a newbie so I try to do that with precaution. If there was one locale file maybe then I could translate it more easily to spanish.
2. the zip would be ideal and I'll wait for it, meanwhile the download link will do.
3. The dropdown list is fine, only that having 2 or 3 of them is more inviting for the purchase anyway I'll try to put a note saying that click save to have more options.
4. No hurry for that I'll wait, it was just a suggestion,

Thanks again.

 
pixagrafik

Joined: 2005-07-04
Posts: 1
Posted: Sun, 2005-07-10 08:46

I'm running G2 Beta 3 Bingo. I upload the files into my gallery2/modules directory. When I go to Site Admin -> Modules, I get an error about the wrong API version. I then correct the module.inc for each of the 3 modules folders that I uploaded so that I can then get gallery to install the modules. All goes fine for the install of the modules. However, when I hit the configure button, I get these errors: Error (ERROR_BAD_PARAMETER) : checkout.Admin can't be parsed
in modules/core/classes/GalleryView.class at line 124 (gallerystatus::error)
in modules/core/SiteAdmin.inc at line 154 (galleryview::loadview)
in modules/core/classes/GalleryView.class at line 214 (siteadminview::loadtemplate)
in main.php at line 302 (siteadminview::doloadtemplate)
in main.php at line 86
in main.php at line 77

What gives? Is it a permission problem? The permission on the uploaded files seem to match those of the 'core' module that you indicate in your read me.

Any thoughts, help or direction would be appreciated.

Jared

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sun, 2005-07-10 08:54

rakso, I've never seen that error before, and it occurs at a very strange place - just as I'm loading the core navigation view. There's nothing strange in that chunk of code, and nothing that's changed since the very first version of the module! I wonder if it could be something that's being changed in the latest release of G2 to do with the theme/templating engine?

Could you try checking out an earlier revision of G2 from CVS instead of the Head release, and see if it works with that? I know it worked OK for me with the 1st July release, so could you try that one? Just add '-D 7/1/2005' to your CVS command line to check out that version. (You will then need to use -A next time if you want to reset the date flag and get a more recent version, as -D is sticky).

dleaberr1, good to hear from you again :) I'm also very glad you got the ball rolling on this - at the very least it's given me something else to do when there's nothing decent on television!

Roshlin, no problem.
1. I'm hoping to create an English localization file for the next version, but nothing before that.
3. I've got no plans to add more dropdowns - it's not an easy thing to do, and it introduces a whole load more edge cases to think about (what happens if there's more dropdowns than products? Should all drops show all products? What happens if the user selects the same product in more than one drop? and so on....)

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sun, 2005-07-10 13:43

pixagrafik, as I said in my post with the current versions of the modules, they won't work on G2 Beta 3 - they need a more recent CVS version. Have a read of the CVS instructions here.

However, there are also indications that there may have been some recent changes in the CVS version that are going to cause other problems. I'd recommend getting the version from 1st July, as that is the one I tested these modules with. To do that, use the following CVS checkout command instead of the one listed in the URL above:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gallery checkout -D 7/1/2005 -P gallery2

Good luck!

 
rakso

Joined: 2003-07-31
Posts: 141
Posted: Sun, 2005-07-10 22:46
turnbulm wrote:
rakso,[...]

Could you try checking out an earlier revision of G2 from CVS instead of the Head release, and see if it works with that? I know it worked OK for me with the 1st July release, so could you try that one? Just add '-D 7/1/2005' to your CVS command line to check out that version.

okay, with a fresh install of 7/1/2005 it worked.. but it should also work with current CVS versions.... ;-)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 05:37

Oops - latest CVS (Core .9.31)

Complete checkout by paypal
Incompatible module!
Core API Required: 6.3 (available: 6.4)
Module API Required: 1.0 (available: 2.0)

... help (may I edit the module.inc?)

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Mon, 2005-07-11 08:04

There are a whole bunch of changes due out in G2 Beta 4 at the end of this week, lots of which are appearing in the current CVS versions. The reason that the Core and Module APIs are being incremented is because they have been changed - and those changes need to be trickled through into the modules. I will work on this and make the modules compatible with Beta 4 - but not until it's released at the end of this week! I'm not going to start putting changes into the modules now only to find out there are more to come in the next few days.

In the meantime I'd suggest you roll back any CVS updates you've done to the last version you know worked...

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 08:44

OK ;)
I'll stay tuned

 
delinks
delinks's picture

Joined: 2005-07-13
Posts: 9
Posted: Wed, 2005-07-13 16:30

Hi turnbulm,

Thanks so much for your hard work on these modules, they are very cool! I am need some advice, however. I want to add some fields to the checkout process. I want the user to be able to add some text, choose a font and color and upload their logo. What is the best way to go about adding these fields?

Thanks so much,

Shane

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Wed, 2005-07-13 17:24

delinks- the best way would probably be to extend the 'payment' stage of the process. The email plugin is a good example - it collects extra data then sends everything off in an email.

If you're using PayPal for payment though, it might be better to put a third stage in the checkout module itself (before the PayPal button is presented).

Whichever you decide to do, I'd recommend waiting at least another week as there are some big changes under way to the whole templating system. These are creating knock-on changes in the checkout modules, which would almost certainly conflict with anything you might change in the meantime!

 
jmacdoug2005

Joined: 2005-05-29
Posts: 95
Posted: Wed, 2005-07-13 18:32

I have attached a file with a screen shot of my errors. I just installed the latest G2 I could find and I am receiving Core and Module errors.

Please help,

Thanks-Jeff

Gallery version = 2.0-beta-3+ core 0.9.31
PHP version = 5.0.4 isapi
Webserver = Microsoft-IIS/6.0
Database = mysql 4.1.10-nt
Toolkits = Exif, Gd, ImageMagick, Thumbnail
Operating system = Windows NT NVWEB1 5.2 build 3790
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

 
delinks
delinks's picture

Joined: 2005-07-13
Posts: 9
Posted: Wed, 2005-07-13 18:46

Thank for the feedback turnbulm,

My issue is that the data I want to collect is dependant on the cart items, not the cart as a whole, like the email module. I basically want to store a few more fields in the chechout_item table and also pass that info to the email module. Could I just add some fields to the tables manually and pass the new variables like you are doing with the current fields? Here is a picture of what I am trying to do:

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Wed, 2005-07-13 20:02

jmacdoug2005- I can't see your attached file, so I'm not entirely sure what the problem is. However, it will most likely be one of two things:

  • You are running G2 Beta 3 with the latest versions of the modules. This isn't supported, as the modules rely on some features introduced more recently in the APIs. You would need to get a CVS version of G2 to make this work... but...
  • You are running a very recent CVS version. Beta 4 is due out hopefully this week, and at the moment there are a lot of changes being committed to CVS - some of which break the modules. You would need to use an older CVS version - say 1st July (the one I tested with) by adding '-D 7/1/2005' to your CVS command line.

Either way, there are notes on how to get a compatible CVS version in my post with the module downloads. Have a read, and come back if you have any further questions.

delinks- OK, I see what you're after now. It's not a straightfoward thing to plug in with the modules as they stand, but feel free to have a go if you'd like! Some notes to (hopefully!) make your life easier:

  • Don't just add tables to the database manually. Gallery has an abstracted storage framework that is controlled by XML-type files. The file that defines the table structure for CheckoutItems is modules/checkout/classes/GalleryCheckoutItem.class - have a look and see if you can work out how to put your fields in there.
  • The class file above won't help you if you do a module upgrade - it's only used to generate the SQL to create the table in the first instance. To create an upgrade file, first increment the Schema version in the class file. Then, have a look in classes/GalleryStorage/DatabaseStorage/schema/xml-src/A_GalleryCheckoutTransaction_1.1.xml for an example of a file to apply changes during an upgrade.
  • Once you have these files in order they will need to be 'made' to generate the appropriate SQL. You'll need Saxon and rxp installed - have a read here for an overview of this.
  • Would it be better to add another step in the checkout that only appears if there are products where this information needs to be collected? That way if a user is just buying standard prints they don't see a lot of irrelevant boxes. To do this change the $nextview parameter in Confirm.inc for the SelectProducts view to point to your new view, and create a new case in Confirm.inc to handle the form submission (reading and storing your data).
  • There is a new Beta of G2 due out in a few days, and the modules will be changed quite a bit to work with the new templating system. You may prefer to wait until those changed versions are out so as not to loose your customisations when you upgrade!

If you do get something working and are interested in sharing it, please let me know and I'll see if it can be incorporated in the main versions of the modules. Either way, good luck!![/]

[/]

 
delinks
delinks's picture

Joined: 2005-07-13
Posts: 9
Posted: Wed, 2005-07-13 23:02

Thanks again for the feedback turnbulm,

I will sleep on this one. I am not sure what to do. The 'next step' option is a good one, but not sure if it is necessary since most users will not be getting a single photo. Which route would be easier? Which would be cleaner? I am in a bit of a pinch with getting something delivered soon, and am newer to developing in G2.

Are you changing the modules to match the new beta G2 version? Is so, when do you forsee them being done? Will the G2 upgrade affect .tpl files as well as .inc and .class files?

I have read the doc you posted about generating the sql files. After updated the scheme version in the class file, adding the proper xml in the upgrade xml file, and 'making' the sql files, will G2 site admin detect that the module needs to be upgraded and prompt the user to upgrade? Is that where the database gets updated?

And yes, when I have a working module or extension, we can discuss incorporating it with yours.

Thanks,
Shane

 
jmacdoug2005

Joined: 2005-05-29
Posts: 95
Posted: Thu, 2005-07-14 00:16

Should I just wait for BETA 4? I have reservations about making any more changes that may not work in the near future. Is it really coming this week?

Jeff

 
JerrySegers

Joined: 2005-07-13
Posts: 44
Posted: Thu, 2005-07-14 05:46

Since I am a real newbe with gallery, I was elated to find the PayPal checkout module. I had no trouble loading it into G2 beta 2 and getting it to work with three exceptions.

1 - How can I tell what the customer has ordered and paid for through paypal? The charge seems show up as a lump sum in Pay Pal ( Have I missed something)?

2 - If the customer cancels the payment process they are left at the paypal login screen because there is no cancel return path in the submit form.

3 - There is no success return path in the form either so I suspect (but have not tested) the successful customer is left in the same PayPal login page.

I suspect I have just messed up something, but I can not find it after hours of looking.

Any help would be appreciated.

- Jerry

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Thu, 2005-07-14 09:30

delinks- I'm starting to line up the changes at the moment based on what I can see appearing in CVS, but until Beta 4 is officially released I won't know the full extent of the work I have to do. In the best case it could be as quick as a day or two after the release - but in the worst case it could be a week or two. It really depends on the nature and extent of the changes, and the amount of free time I have.

The upgrade so far is having a substantial effect on all of the .tpl files and more than half of the .inc files. I had some other changes in progress that I'll also commit at the same time, which affected some more of the .inc files and also some .class files.

Regarding the upgrade - everything you mentioned there prepares the way for the DB to be properly upgraded. The G2 upgrade mechanism however is triggered by a bump in the module version number. So, until you increment the version number in module.inc the user won't see the need to upgrade the module and no changes will be made to the database.

jmacdoug2005- I'd suggest waiting for Beta 4 if at all possible. I believe it's due out at the end of this week, but I'm not sure if that's a firm date. I know there are some bugs that need to be resolved before the release can go ahead, but I don't know how work is progressing on them.

JerrySegers- Glad you're enjoying it! In answer to your questions:
1 - the order confirmation email you get from PayPal should have the products and quantities listed in the 'options' field for each item. I don't know if it's visible in the PayPal interface or not.

For the other two, it's a version thing. Because you're using Beta 2 you must also be using an older version of the modules. In newer versions there are some features that will be of interest to you:

  • Added a PayPal auto-return URL for succesful payment. This hasn't yet been extended to accommodate a cancellation return, but that's planned for the next version.
  • Brought the PayPal process into the same browser window as the Gallery page, rather than opening a new window.
  • Made the module populate the PayPal cart with more informative line items rather than using the 'options' field. You'll now get a single line per item/product combination.

If you can wait another week, I'd suggest holding on for Gallery 2 Beta 4 and the latest versions of the modules to support that Beta version. If not, take a look at the post regarding the latest version of the modules here - but read carefully the bits about requiring a specific dated CVS version of Gallery to make it work... If you're not comfortable playing with your server and installing a CVS version then I'd suggest again waiting for Beta 4.[/]

 
jmacdoug2005

Joined: 2005-05-29
Posts: 95
Posted: Thu, 2005-07-14 12:26

thanks turnbulm. I have to tell you, I never thought there could be such a collection of great developers out there in an open source community. You and everyone else involved in the gallery project are awesome. I will most likely wait for Beta 4. Thanks for all your help.

Jeff

 
Pallieter

Joined: 2005-07-12
Posts: 8
Posted: Thu, 2005-07-14 14:24

Okay, my experience:

- when using the gallery <=20050701 CVS version the checkout modules worked great (and no problems with the gallery either)

- we miss having the languages files (let me know if/when/how we can help + do the Dutch translation)

- besides the current choices (in paper sizes) an optional direct (zipped) download option (after PayPal payment confirmation) would be extreemly useful (again, let me know if we can assist and or help test/debug/etc), visitors can opt to pay a bit extra to immediately d/ll the full size pictures

- the HTML multipart email arrived as text, I debugged Email.inc around line 166:

		$headers = "MIME-Version: 1.0\n";
		$headers .= 'Content-Type: multipart/mixed; boundary="' . $email['boundary'] . '"';
 
JerrySegers

Joined: 2005-07-13
Posts: 44
Posted: Thu, 2005-07-14 14:51

turnbulm - Thanks for the info. I added the two lines below to the PayPal template after the currency code. This takes the customer back to the main gallery page. Not perfect, it will do for now. As I was orignally nervous about putting even beta code on my server and I have a three week window I will work on other parts of the site and wait for the next version.

<input type="hidden" name="return" value="http://  your.galley.page">
<input type="hidden" name="cancel_return" value="http://your.galley.page">

Thanks again for your help.

- Jerry

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Thu, 2005-07-14 16:26

Pallieter- I'm putting the language files together for the next release, so as soon as it comes out feel free to work on the translation!! As for the zip download, that's in the next batch of major features I'm working on (along with an admin view of past transactions). What I'm planning is to create another plugin interface for 'fulfilment' plugins, and I was going to create the zip plugin as the first example. It won't be ready for a little while though...

Thanks for the debugging - I'll check the original code and work out what changed :)

JerrySegers- I didn't realise that PayPal accepted 'return' and 'cancel_return' parameters. Does auto-return still have to be turned on for these to work? I think this would be a better way for me to do things in the current version of the module, so I'll have a go at changing it and see what else breaks ;)

 
JerrySegers

Joined: 2005-07-13
Posts: 44
Posted: Thu, 2005-07-14 17:20

<b>turnbulm</b> - Your question caused me to re-read my PayPal Integration guide and I was surprised that I could not find the answer to your question so here is what I know.
1 - I do not have auto-return enabled and the form return codes do work.
2 - Auto-return is only available for business accounts (As I read it)
3 - I could not find the documentation for either form return.
4 - I got the code by using the button code generator on the PayPal site.
It is therefore my assumption that my documention is old (Before they were E-Bay - I will get a new copy).

It seem to me that the auto-return feature is somewhat more general and more cumbersome to use (you must query their server for the data then match it up with the local stuff). I also suspect that the returns in the form code doesn't give as much information (like a tracking number) after the transaction is complete.

(Note: A great feature would be a tracking number that follows the transaction from conception to completion.

I know nothing about PHP, but If there are other things I can do, look up or test for you, please let me know.

- Jerrry

 
delinks
delinks's picture

Joined: 2005-07-13
Posts: 9
Posted: Thu, 2005-07-14 19:36

turnbulm,

I just had an idea for a quick fix. Here goes...

What if I were to concatonate my new field variables with you "Paper" variable, which is currently stored in the "Notes" field of the CheckOutItem table?

The notes fields would then contain a string like this:
"Paper: Cardstock | blurp: Merry Christmas | blurp font: script | blurp color: red"

I could then pass this data into the email (I am not using paypal). I could also query it later for an order report if necessary.

I know it's a bit if a hack, but it may buy me some time until the new version of G2 and the new versions of the modules are complete.

What is your advice on this?
Do you think this could be done fairly easily and is worth the effort?

 
LadensIII

Joined: 2005-07-13
Posts: 41
Posted: Sat, 2005-07-16 05:40

Download it and try it out. You can see a demo at http://alice.leaberry.com/~daniel/g2stable/gallery2/ it's running off my cable connection so go easy!

Can you see the demo?

 
highpulse
highpulse's picture

Joined: 2004-05-15
Posts: 45
Posted: Sat, 2005-07-16 13:20

Ladenslll,

The link is not working:

"Forbidden

You don't have permission to access /~daniel/g2stable/gallery2/ on this server"

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2005-07-16 13:25

The URL above was dleaberr1's demo of his original modules a little while ago. The modules have moved on since then, and I guess the demo is no longer available.

Note to self - really should set up a demo site - will try to get one working this weekend...

 
Pallieter

Joined: 2005-07-12
Posts: 8
Posted: Sat, 2005-07-16 13:43

We have a live website using the checkout (email+PayPal) module at 4DaagseFoto.com and VierDaagseFoto.com

 
highpulse
highpulse's picture

Joined: 2004-05-15
Posts: 45
Posted: Sun, 2005-07-17 17:52

I have been doing some more testing of the email module and I have noticed that when I get my email of the order, the table is not always showing up at all or correctly. I did customize three of the .tpl files but deleted them to see if the problem corrected itself. It did not. The tables that show the product, size, quantity (psq) is not showing if you leave out one of the sizes.

Example:

I order 1 4x6" print and 1 5x7" print, the email shows the table and information correctly.

I order 1 4x6" print and 1 8x10" print (not ordering a 5x7" print), that email will show the psq correctly for the 4x6" but it will not show the 8x10" print information at all. The price information is correct but just doesn't show the table correctly if at all.

Has anyone else seen this? I have tested this in both the "table" and "drop-down" style configuration with the same results.

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sun, 2005-07-17 22:47

highpulse- this was a bug in an earlier version of the email module that I thought I'd corrected - please can you download the most recent version (here) and see if the problem is fixed? I don't think I incremented the version number of the email module when I fixed this, so even if you already have 0.0.3 installed please download it again just in case... The same bug was also fixed in the Checkout and Paypal modules at the same time.

Hope this helps.

 
highpulse
highpulse's picture

Joined: 2004-05-15
Posts: 45
Posted: Sun, 2005-07-17 23:17

I reinstalled all of the modules and the 10 orders I submitted all of them looked perfect. I thought I had the lastest and greatest, but I must have missed that posting about the error and correction.

Thanks again!

Good luck with the new beta 4 updates! I know you can do it...

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Fri, 2005-07-22 10:56

All - the modules have now been updated to support G2 Beta 4 as promised.

I've started a new thread here to take over the discussion from this one - it was getting just too confusing having different versions scattered through this thread! All changes from now on will be made by posting updates to the front page versions on the new thread.

Have a play, and please let me know how many bugs you find!!

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sun, 2005-07-24 07:39

May I ask, what theme you are using, and how did you get the "cart" to show up below the Album Highlight and each image? I've been clicking around like a crazy person trying to replicate the look of you sites below.

Care to share? I like it very much.

Pallieter wrote:
We have a live website using the checkout (email+PayPal) module at 4DaagseFoto.com and VierDaagseFoto.com

 
imada

Joined: 2003-04-11
Posts: 8
Posted: Sun, 2005-07-31 17:06

Hi there, yes i would be interested on this "tuning" as well...How to do it?
Thanks

drhiii wrote:
May I ask, what theme you are using, and how did you get the "cart" to show up below the Album Highlight and each image? I've been clicking around like a crazy person trying to replicate the look of you sites below.

Care to share? I like it very much.

Pallieter wrote:
We have a live website using the checkout (email+PayPal) module at 4DaagseFoto.com and VierDaagseFoto.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-31 17:24

drhiii, the "add album to cart" cart link?

g2's logic: if the user has permission to see only a single item action link, it shows a link. if the user can see more than a single item action, it shows a drop down list.

flamingofoo (a forum user which was active in spring '05) created an alternative to the drop down list, a DHTML (css/javascript/html) thing which looked and worked great. basically, it was just a "click here for item actions" area, when you click on it, you get a wonderful item actions list for the thumbnail.
we absolutely need this again.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sun, 2005-07-31 17:54

I understand here. I'd clicked around in permissions looking to understand the characteristics. I see what you are saying here. tx

 
imada

Joined: 2003-04-11
Posts: 8
Posted: Sun, 2005-07-31 18:34

Hi again, i've checked permissions as well, but after i've done settings nothing's changed. permissions EVERYBODY see item & purchase item ...No link "add photo to cart" or "add album to cart" under respective thumbnails appear. Any addictional help? Thanks again.
PS
There should be a way since VierDaagseFoto.com have done it ;-)

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sun, 2005-07-31 18:53

imada- there is a known bug in G2 Beta 4 where if a user only has one possible action link for an item then it is not shown at all. If there are two or more links then the drop-down is shown correctly. This is fixed in the current CVS version. Might that be your problem?

 
imada

Joined: 2003-04-11
Posts: 8
Posted: Sun, 2005-07-31 19:41

Hi and thanks for your prompt reply. my Gallery is the very latest one CVS then i really don't know why...Maybe there could be another way to do this?

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sun, 2005-07-31 19:45

imada- do you see the link if you are logged in as admin? It sounds like you've done everything right - and it should just work! I think VierDaagseFoto.com is just using the standard G2 actions without modification, so as soon as you get it working it should look like this.

 
imada

Joined: 2003-04-11
Posts: 8
Posted: Sun, 2005-07-31 19:57

When i'm under Admin i can see the menu item actions and yhe checkout link it's appearing but when i go in guest visual mode nothing...The permissions are setted right, Maybe could be because the default language is in french?