Yes, big bug with Sum of prices above 1000....€ or $ or £...
GeoffreyB1
Joined: 2007-02-15
Posts: 11
Posted: Wed, 2008-03-05 10:34
I have just upgraded to this Beta on my test server. It looks fantastic although I have not done any testing yet.
Just a suggestion for future development - it would be wonderful if we could edit the contents of the related email templates via the admin area. What I need to do is include bank details to enable customers to pay via direct deposit.
Keep up the great work. Such great improvements/features.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2008-03-05 10:48
Even as I write, I am re-structuring the email notifications code so you will be able to do exactly that. Not from the admin interface (that's complex enough) but instead by editing the template text, just like you do to customise the gallery pages.
In brief, there will be a master template for each one of {Order-placed, payment-confirmed, order-dispatched} events. Plugins will choose when to trigger these emails (or it can be done manually from the order admin page, if you get a cheque in the post, for instance). The text for each master template is editable, as is whether to include customer details, order details and/or download links. Each plugin will also be able to insert its own customized text/data into the email sent for each event. So you would include your bank details and payment instruction in the "confirm.tpl" included in checkoutemail module, which is inserted automatically into the confirm.tpl master template. I will also include a callback for the order total so your email will be able to read, for instance "Please pay £45.62 to my bank account whose details are xxxxxxxx...." - whenever the checkoutemail module triggers an order.
Once again, the challenge is to have a system that is easy to set up, as well as flexible. Your comments about how well it works will of course be welcomed when you've had a chance to try it...
SpainAlex
Joined: 2008-02-09
Posts: 14
Posted: Thu, 2008-03-06 15:50
What about sum of prices over 1000? Thx
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-03-06 16:58
What about it? This is all beta code and if you're running it on a production site it's at your own risk. You should therefore have no problem being patient until I have a chance to post a fix.
edit:
OK, here's your bug-fix: edit file confirm.inc, and change line 183 from:
$total = number_format($total, 2, '.', ',');
to
$total = number_format($total, 2, '.', '');
Big bug, little fix.
SpainAlex
Joined: 2008-02-09
Posts: 14
Posted: Thu, 2008-03-06 18:18
Thx Alec ;)...please don't angry, I only was testing the plug-in, not giving rush.
By the way, think is interesting tabulate cart, what do you think about it?
When there are many photos, visualization is not good.
We appreciate your help. THX ;)
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-03-06 23:28
Do you mean to paginate the cart display so you don't get one long page? that's an interesting idea but actually quite awkward to implement. We could have an option to make the thumbnails smaller, which would help a bit.
Out of interest, how many different items would you expect to have in a cart on average? For my purposes, it's rarely more than 10. For you, 20? 50? 100? 500?
mfaizalar
Joined: 2008-03-07
Posts: 5
Posted: Fri, 2008-03-07 04:33
I have installed the checkout module with the mail and paypal options. every thing is working great except once I am redirected to the shoping cart the breadcrumb at the top changes from the users "home" album to the root gallery. I have G2 configured to redirect users to there home album when they log in, and I dont want them to have access to the root gallery. How do I change the breadcrumb to link to the users album instead of the gallery?
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-07 10:30
Quote:
I have G2 configured to redirect users to there home album when they log in, and I dont want them to have access to the root gallery.
explain to me how you set this up so I can replicate and do some tests, please.
mfaizalar
Joined: 2008-03-07
Posts: 5
Posted: Fri, 2008-03-07 15:20
In the "site admin" I setup the user album option to redirect users to their album everytime logged in (I ticked the option "jump to user album after login"). Thus, users will not able to access root album and I only allow admin to view root album. Since this is an online photo album, I only allow user to view his/her album only.
Let say the user's album named USER. Thus, when the user logged in, the breadcrumb on the upper left side will show USER. But if the user clicked "view cart" or "add photo to cart" (anything related to checkout/cart module), the breadcrumb will suddenly changed to root album --> "Gallery". As the root album only restricted to admin only, an error message will appear if the user click the breadcrumb mention that there's a security violation occurs. How can this be fixed?
I thought this is no issue to others but I did found out that most of users that using cart/checkout module are not having such setup as mine. I could be wrong but that was based on 10 demo site that I visited this morning.
Pls advise. I only waiting to solve this problem before the website can be launched. Let me know if you can't simulate the problem at your side and I'll provide you more info as required. Appreciate your help dude!
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-07 15:32
I'm guessing that this is an issue with all versions of Checkout including 0.1.18 that's on the SVN server, and not something specific to release 0.2.1 - so I'm going to put it to one side as a feature request rather than a bug. (In short, I don't know how to solve the problem and I don't think I'll have much chance to check over the next few days - sorry.)
Mostly I need feedback from people who are having problems specific to 0.2.1.
An alpha version 0.3.0 with much improved automatic customer contact emails should be along very soon.
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Fri, 2008-03-07 20:51
I notice that there's an order number on the Order Management page. Is there a way to print this order to the user on the order confirmation page ? If they're writing a check, it would be good to include this order #.
Thanks,
-- John
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-07 22:17
The order management facilities have changed in 0.3.0 - you actually get to update the order status and send emails to customers.
If you're all very very nice to me I will tidy up and release my private module that prepares and downloads a neat and tidy pdf invoice/delivery note complete with thumbnails of all the pictures. Photobox eat your heart out.
Awesome. Yo the man, Alec. Would love to get the VIP pass for version 0.3.0.
Cheers,
-- John
GeoffreyB1
Joined: 2007-02-15
Posts: 11
Posted: Fri, 2008-03-07 23:12
Hi Alec,
In your planning would it be simple enough to extend the per item customization to include postage/freight to that an item can have a particular postage/freight attached to it rather that having the buyer select the applicable rate. I sell framed prints which vary in weight and size. This ability would be awesome.
Cheers
Geoffrey
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-03-08 00:03
@freight per item: yes, reasonably straightforward. The hardest part - as with all these neat features - is to avoid making life even harder for the majority who don't need them. (Every time I can *remove* a configuration option from the admin page I give a little cheer.)
I suppose you would give each item an assigned weight, then add up the weight of the order and look up the total weight to find the shipping cost, per region/delivery service. That means: an extra field for the weight of each product (is it settable per album/image as well? that means more boxes to fill in...) and a table expandable in both dimensions with columns for different delivery services and rows for different weight bands.
I'll be honest and say there are other neat features I want to implement first - ones that I use myself, which is the main reason for spending the last three weeks on this module(*) - to get it to the stage that I can do that. Then, maybe I'll have some time to go take some more pictures!
(*)that, and the adulation and hot chicks, of course.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-03-08 00:08
belmont123 wrote:
I notice that there's an order number on the Order Management page. Is there a way to print this order to the user on the order confirmation page ? If they're writing a check, it would be good to include this order #.
Thanks,
-- John
Sorry I misunderstood what you were asking. Yes - it is already. Also the order confirmation page the user sees is now (in 0.3.0) configurable (kind of plug and play in the templates) to include the shipping information, download link and information, order status (waiting payment, paid, shipped, etc) and order contents, or whatever you want. The customer can also bookmark it and come back to it for an update. (An obvious extension is to include a link to your delivery tracking services, although I haven't included that.)
mfaizalar
Joined: 2008-03-07
Posts: 5
Posted: Sat, 2008-03-08 03:35
alecmyers wrote:
I'm guessing that this is an issue with all versions of Checkout including 0.1.18 that's on the SVN server, and not something specific to release 0.2.1 - so I'm going to put it to one side as a feature request rather than a bug. (In short, I don't know how to solve the problem and I don't think I'll have much chance to check over the next few days - sorry.)
Mostly I need feedback from people who are having problems specific to 0.2.1.
An alpha version 0.3.0 with much improved automatic customer contact emails should be along very soon.
Alecmyers,
Understood your situation, but if you could help me to give some ideas of not viewing the breadcrumb when the cart module accessed (if no way to fix the problem), that would be great. No worries if you need some time to look into this problem. May be you can include this in your next 0.3.0 release. Would you mind?
I like the features in checkout module and absolutely will stick to it. When the new version 0.3.0 will be released?
pigwet
Joined: 2008-03-08
Posts: 16
Posted: Sat, 2008-03-08 06:29
Real quick:
(1) As far as I can tell from the posts, as of 3.7.08, the download as zip feature is NOT currently working? Can't seem to get mine to function properly.
(2) Is anyone getting an infinite loop of emails sent to you after a test purchase? This is happening to me.
Thanks,
Daniel
iso3200
Joined: 2006-09-12
Posts: 5
Posted: Sat, 2008-03-08 07:31
Quote:
OK, here's your bug-fix: edit file confirm.inc, and change line 183 from:
Seems to have worked Thanks very much. Will continue to try and break it in other ways now....
mfaizalar
Joined: 2008-03-07
Posts: 5
Posted: Sat, 2008-03-08 11:59
Hi Alec,
My 2 cent on new features that I would love to have in your new checout ver 0.3.0:
(1) Discount option - with a privilege for admin to set the condition of discount how much the discount will be. E.g. if total photos ordered more than 100pcs, customer will get free shipment or 5% discount.
(2) Direct link for customers to make payment thru online banking/credit card. Upon clicking the link for credit, custom payment form will popup for customer to fill up and have credit card # verification as well. But for online banking, admin will have privilege to set the URL of the banking and might also put a picture/icon to link to the online banking.
Hope that wasn't too much for you and I have a good feeling that more and more people will get excited to use this module for their transaction. Wasn't that cool??
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-03-08 12:07
mfaizalar:
@discounts - I am going to implement some kind of discount codes. Quite how it will work I haven't decided yet, as everyone will want different options (some % discount, some fixed discount, some dependent on minimum quantity etc etc.) The absolutely *best* way is for you to learn to program in php then you can (all!) modify the code to do your exact requirements, whereas anything that I write is going to be a compromise.
@direct link: the paypal plugin already does almost exactly this. If you have an API for an online payment provider then it's straightforward (if you know some php) and you are most welcome to join in and write a plugin to use that method of payment. The downside is that most payment providers automated response systems (that would tell Gallery when payment has been received) require a secure connection using https://, and that requires as I understand it a fixed IP address on your server and an encryption certificate. Paypal is the odd one out in that respect - Google Checkout certainly needs it.
pigwet
Joined: 2008-03-08
Posts: 16
Posted: Sun, 2008-03-09 00:34
Quote:
(1) As far as I can tell from the posts, as of 3.7.08, the download as zip feature is NOT currently working? Can't seem to get mine to function properly.
(2) Is anyone getting an infinite loop of emails sent to you after a test purchase? This is happening to me.
Thanks,
I should have indicated that I am using the checkout w/paypal module and I competed a real order - not a sandbox order. Still can't get any zip features to work.
Can anyone please verify that zip download is not fully implemented yet.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2008-03-09 01:41
As far as I know, the download feature works in 0.2.1 just as well as it did in 0.1.18 - it's not something I've altered. I have tested it again in 0.3.0 as it stands at the moment, and it functions as it should, to the extent I've tested it.
Infinite loops of emails are also not something I would expect or have experienced. I'm now running 0.2.1 on a production server, have taken many orders through it via paypal, and have experienced no particular issues with the email section.
If you can be more specific about the problems with the downloads beyond "it's not working" then that would be more helpful ...?
pigwet
Joined: 2008-03-08
Posts: 16
Posted: Sun, 2008-03-09 19:08
I was dealing with an upgrade. When in doubt - uninstall and reinstall. Works like a charm! Donatation email for paypal?
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2008-03-09 19:10
"Donation email for paypal" - explain?
MikeL117
Joined: 2007-03-07
Posts: 8
Posted: Sun, 2008-03-09 23:33
Hi Alec
I have just installed 0.3beta and I really like the way you are progressing the module. Keep it up (and British ;)
My problem is the same as you found with the paypal and email modules. I need to use Google Checkout and the module that is out there (0.1.1) is based on the earlier checkoutpaypal module.
Is there an easy(ish) way to incorporate the changes from the paypal module into the google module?
Thanks
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-03-10 08:40
The short answer is - probably.
The longer answer is this: I was reading the specs for Google Checkout the other day, and it looked straightforward. I was disappointed to read that the callback notification (order-paid) from Google requires an https:// address to post to on your server, which many people will not have. Then yesterday I realised that my hosting provider (hostmonster/bluehost) as a courtesy provides an https url for their servers, so that http://www.my_hostmonster_site.com can also be accessed as https://www.hostmonster.com/~my_hostm - and that will be adequate for the postback. (it's ugly, but the customer never sees it.)
That means for the lucky few who have this a full google checkout module is feasible. And, I hope, with the new module architecture, simple to integrate properly. It's something I mean to look into over the next week or so.
If you don't want automated payback notifications then it's even easier, and will work for everyone. I can imagine that it's possible with a module of no more than about 6 files total. I haven't yet looked at the existing module, so I don't know whether it would be easier to modify that or start from scratch (using it perhaps as a guide).
I suppose it will have to be called checkoutgoogle - as checkoutcheckout and checkoutgooglecheckout both sound really silly.
@British: it's coded in international English, templates are written in US English as per the Gallery standard, and I've provided a en_GB.po file. I've had welcome offers for translation to German, Spanish and Italian, I think, so far, and when the text settles down I mean to take them up - so we should all be happy!
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-03-10 09:00
On the subject of discounts: here's what I'm planning:
A table of discounts. Each discount has the following properties, all of which are optional.
Constraint: minimum spend
Constraint: minimum no of items (images)
Constraint: minimum no of products (total quantities)
entry code
discount description to display in the order
percentage discount
fixed discount
free postage (yes/no)
applies by default (yes/no)
priority
Each discount that applies is then matched against any order placed (at the confirm stage) in order of priority. The first discount where the order satisfies all the existing constraints is applied (and only the first.)
There is an admin-optional entry box on the cart page where the customer can enter their own entry code. The list of applicable discounts is therefore {any discount marked as 'applies by default' PLUS the one matching the entry code the customer enters (if such a one exists)}.
For a fixed discount structure (say 10% off over £100, 5% off over £50, free postage over £20) enter each discount, make them all 'apply by default' and have the bigger ones with the higher constraints at higher priorities so they are matched first.
Customer-entered discount codes can override applies-by-default discounts if they have a higher priority set.
I think this will satisfy most requirements - as usual, comments requested.
GeoffreyB1
Joined: 2007-02-15
Posts: 11
Posted: Mon, 2008-03-10 09:46
Hi Alec,
Just found something you might want to know about. I have 0.2.1 installed on test server. When I configured the theme via the Themes link in Site Admin the Pricing info appeared on the album page when I had it configured not to and did not appear on the photo page when I had configured it to. However, when I configure the theme via Edit Album everything works as I expected.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-03-10 09:51
Hi Geoffrey,
That sounds like a problem with the theme. Checkout declares the existence of a pricing info block, but it's up to the theme to include in the right pages. Which theme are you using?
GeoffreyB1
Joined: 2007-02-15
Posts: 11
Posted: Mon, 2008-03-10 10:25
Matrix
pigwet
Joined: 2008-03-08
Posts: 16
Posted: Mon, 2008-03-10 19:09
Quote:
"Donation email for paypal" - explain?
I want to give you $$ for your work. Do you have a paypal email address I can send it to?
pigwet
Joined: 2008-03-08
Posts: 16
Posted: Mon, 2008-03-10 23:02
Alec, I just installed 0.3.0 on both a clean install of gallery 2.2.4 and an older upgraded 2.2.4 gallery install.
I am able to complete the payment process with PayPal, but when I click the button to "return" from Paypal back to my site, it doesn't connect back to my site properly i.e. times out.
In addition, after I pay, I get confirmation emails from paypal, but no orders are listed in the Checkout Orders plugin and no emails are sent from my site.
I thought that it might have to do with my "upgraded" gallery install so I installed gallery again just to see if that was the problem. It does the same thing for both installs.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-03-10 23:54
pigwet wrote:
Alec, I just installed 0.3.0 on both a clean install of gallery 2.2.4 and an older upgraded 2.2.4 gallery install.
I am able to complete the payment process with PayPal, but when I click the button to "return" from Paypal back to my site, it doesn't connect back to my site properly i.e. times out.
In addition, after I pay, I get confirmation emails from paypal, but no orders are listed in the Checkout Orders plugin and no emails are sent from my site.
I thought that it might have to do with my "upgraded" gallery install so I installed gallery again just to see if that was the problem. It does the same thing for both installs.
That's interesting. Can you do the following for me please: complete an order with paypal, and then post (or PM me) the entire link destination that you get offered for the "return to site" link (or whatever you gave for that option) after payment, by right clicking on it and choosing "copy link" or whatever it's called.
Also, the base url of your site please. Is it a site I can reach and place a sample order on myself?
Quote:
I want to give you $$ for your work. Do you have a paypal email address I can send it to?
That's a very kindly thought indeed, but the work I've done to date has been mainly for my own benefit on sites that I run, and the debt I owe to the Gallery project is still in their favour - so please donate instead to the project funds - there's a link at the bottom right of each forum page.
MikeL117
Joined: 2007-03-07
Posts: 8
Posted: Tue, 2008-03-11 00:13
Alec
That would be great if you could implement a proper GoogleCheckout module.
I managed to fudge together enough code to make the old Google module work after a fashion but it is far from complete. You are more than welcome to have it if it points you in the right direction but it is only a simple HTML API version.
Not being a PHP programmer it is all a little frustrating but good fun.
I'm also finding that PGTheme is not showing Add to Basket buttons however I configure it - there are a lot of variations and maybe I haven't stumbled on the correct combination yet.
Have fun
Thanks
pigwet
Joined: 2008-03-08
Posts: 16
Posted: Tue, 2008-03-18 01:02
text deleted by user
tcphoto
Joined: 2008-03-11
Posts: 11
Posted: Tue, 2008-03-11 01:06
I am new to G2 and Checkout. First of all, thanks for all your hard work developing this module.
I just installed Gallery 2.2.4 and Checkout 0.3.0. I am using the Carbon theme which has an Add To Cart icon that works with Cart and shows up on the image page above and below the photo. After activating Checkout and deactivating Cart, this icon no longer shows up, and the Add To Cart link only shows up in the Item Actions list. Is there a way to use Carbon's Cart icon with Checkout?
Thanks
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Tue, 2008-03-11 09:09
I just upgraded to version 0.3.0. The new order management feature works great !! It came just in time for the production launch of my website next week. One small nit ... When I cleared an ordered via the admin screen, the e-mail says that payment is received, but the order status says that "We are waiting for payment ..." (below). Anybody else seeing this ?
Thanks,
-- John
------------
Order Number: 361
Payment for this order has been received and it is being processed.
You can check the status of this order any time here:
Order Status
Order Status: We are waiting for payment for this order.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-03-11 09:25
tcphoto wrote:
I am new to G2 and Checkout. First of all, thanks for all your hard work developing this module.
I just installed Gallery 2.2.4 and Checkout 0.3.0.
Hi Tcphoto,
Glad you like Gallery!
Please note (I tried to make it clear at the head of this thread that checkout 0.3.0 is suitable for testing specifically by those people who are already familiar with *both* Gallery and the Checkout 0.1.18 that is the default installation. This is not a general support thread for Checkout as I'm really soliciting bug reports that are specific to Checkout 0.3.0. My recommendation is to install checkout 0.1.18 as it's stable and (mostly!) bug free. If you have problems with that module then check the documentation, search the forums (almost all questions have been asked and answered many times over) and if that still doesn't get things going for you then by all means post a question in the support area of the Forum.
Incidentally, the 'icons' question has already been asked (and answered) in this thread, even.
Many thanks!
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-03-11 09:33
belmont123 wrote:
I just upgraded to version 0.3.0. The new order management feature works great !! It came just in time for the production launch of my website next week. One small nit ... When I cleared an ordered via the admin screen, the e-mail says that payment is received, but the order status says that "We are waiting for payment ..." (below). Anybody else seeing this ?
Hi John,
Checkout 0.3.0 is *not* *suitable* (NOT SUITABLE!) - *I*S* *N*O*T* *S*U*I*T*A*B*L*E* for a production launch next week. You *must not* attempt to take people's money through software that is not tested out yet. Please *uninstall* it and use version 0.1.18 available from the repository. If you want to help flush out remaining bugs then please install 0.3.0 on a test server, and I will appreciate the assistance, but I categorically don't want to be part of p*****g off your customers because an un-noticed bug stopped an order going through, ordered the wrong quantity, overcharged someone, or whatever.
Regarding the order status: what does the order management screen report the status as after using the clear payment button?
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Tue, 2008-03-11 10:07
Quote:
Regarding the order status: what does the order management screen report the status as after using the clear payment button?
The Order Management screen does report the correct status ...
Order Status
Payment for this order has cleared, and it is being processed.
-- John
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-03-11 10:11
belmont123 wrote:
Quote:
Regarding the order status: what does the order management screen report the status as after using the clear payment button?
The Order Management screen does report the correct status ...
Order Status
Payment for this order has cleared, and it is being processed.
-- John
If you send the email a second time, does it show the correct status then?
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Tue, 2008-03-11 10:31
Quote:
If you send the email a second time, does it show the correct status then?
Yes, looks like if I clear it a second time, the 2nd e-mail has the correct status.
Thanks,
-- John
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-03-11 11:08
belmont123 wrote:
Quote:
If you send the email a second time, does it show the correct status then?
Yes, looks like if I clear it a second time, the 2nd e-mail has the correct status.
Thanks,
-- John
Ok, that's a definite bug (now fixed) and when I've chased up a couple of other points, I'll update the code at the head of the thread.
It's a very good illustration of why this code is *not* ready yet for production use... am I making myself clear!?
thisisglen
Joined: 2008-02-12
Posts: 25
Posted: Wed, 2008-03-12 05:59
alecmyers wrote:
On the subject of discounts: here's what I'm planning:
A table of discounts......I think this will satisfy most requirements - as usual, comments requested.
That sounds excellent. Thanks for your hard work and keep it up!
thisisglen
Joined: 2008-02-12
Posts: 25
Posted: Fri, 2008-03-14 01:38
The new order system is great how you can pick multiple sizes per item, but once an item is added to the top list from the drop down menu it stay there even if you put 0 into the qty. I think if you put 0 into the qty and save the basket it should return the item to the drop down list.
Is that possible?
Also the 'ask for a discount code' option doesn't work. It always asks no matter if that box is ticked or not. Not sure if you know that aleady!
Rest of the changes look good and it seems pretty stable too! Especially for a beta version
thisisglen
Joined: 2008-02-12
Posts: 25
Posted: Fri, 2008-03-14 01:42
Just noticed also that there isn't a box to switch off downloads all together, like there used to be.
It always brings up this message:
Download Information
This order does not include any downloadable items.
Since I don't have any options for downloadable items.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-14 02:08
thisisglen wrote:
The new order system is great how you can pick multiple sizes per item, but once an item is added to the top list from the drop down menu it stay there even if you put 0 into the qty. I think if you put 0 into the qty and save the basket it should return the item to the drop down list.
Is that possible?
It is possible - although the present behaviour was a conscious choice by me. It's fewer clicks for a user to reinsert an item into the order this way, and fewer clicks -> more orders. it means for instance that you can add four or five products quickly, and slot the quantities in later. I'll publish a code mod if you want to alter it - I think it only involves changing a single line.
Quote:
Also the 'ask for a discount code' option doesn't work. It always asks no matter if that box is ticked or not. Not sure if you know that aleady!
Thanks, that's fixed now
Quote:
Just noticed also that there isn't a box to switch off downloads all together, like there used to be.
It always brings up this message:
Download Information
This order does not include any downloadable items.
Since I don't have any options for downloadable items.
Too many possibilities here: either (I) you don't have any downloads at all, in which case you don't want to mention them, ever. Or (II) you have *some* downloads, but you don't want to mention downloads if there aren't any in the order. Or (III) you want to say "there are no downloads in this order" - because it will remind people that next time they could buy some. All are possible with a tiny weeny bit of template editing, but I'm resistant to hundreds of switches in the admin page, especially for things that don't change very often. The template to edit, in this case, is checkout/templates/Download.tpl - the as-shipped default being (III). Just delete line 28 for case II or leave the whole file blank for case (I). As usual with .tpl files, you can put your edited version in a /local folder, and that will be used by preference.
Incidentally, the email template, checkout/templates/email/Download.tpl is even more circumspect. It only inserts text into the email if there are downloads and they are also ready.
Posts: 14
Yes, big bug with Sum of prices above 1000....€ or $ or £...
Posts: 11
I have just upgraded to this Beta on my test server. It looks fantastic although I have not done any testing yet.
Just a suggestion for future development - it would be wonderful if we could edit the contents of the related email templates via the admin area. What I need to do is include bank details to enable customers to pay via direct deposit.
Keep up the great work. Such great improvements/features.
Posts: 4342
Even as I write, I am re-structuring the email notifications code so you will be able to do exactly that. Not from the admin interface (that's complex enough) but instead by editing the template text, just like you do to customise the gallery pages.
In brief, there will be a master template for each one of {Order-placed, payment-confirmed, order-dispatched} events. Plugins will choose when to trigger these emails (or it can be done manually from the order admin page, if you get a cheque in the post, for instance). The text for each master template is editable, as is whether to include customer details, order details and/or download links. Each plugin will also be able to insert its own customized text/data into the email sent for each event. So you would include your bank details and payment instruction in the "confirm.tpl" included in checkoutemail module, which is inserted automatically into the confirm.tpl master template. I will also include a callback for the order total so your email will be able to read, for instance "Please pay £45.62 to my bank account whose details are xxxxxxxx...." - whenever the checkoutemail module triggers an order.
Once again, the challenge is to have a system that is easy to set up, as well as flexible. Your comments about how well it works will of course be welcomed when you've had a chance to try it...
Posts: 14
What about sum of prices over 1000? Thx
Posts: 4342
What about it? This is all beta code and if you're running it on a production site it's at your own risk. You should therefore have no problem being patient until I have a chance to post a fix.
edit:
OK, here's your bug-fix: edit file confirm.inc, and change line 183 from:
to
Big bug, little fix.
Posts: 14
Thx Alec ;)...please don't angry, I only was testing the plug-in, not giving rush.
By the way, think is interesting tabulate cart, what do you think about it?
When there are many photos, visualization is not good.
We appreciate your help. THX ;)
Posts: 4342
Do you mean to paginate the cart display so you don't get one long page? that's an interesting idea but actually quite awkward to implement. We could have an option to make the thumbnails smaller, which would help a bit.
Out of interest, how many different items would you expect to have in a cart on average? For my purposes, it's rarely more than 10. For you, 20? 50? 100? 500?
Posts: 5
I have installed the checkout module with the mail and paypal options. every thing is working great except once I am redirected to the shoping cart the breadcrumb at the top changes from the users "home" album to the root gallery. I have G2 configured to redirect users to there home album when they log in, and I dont want them to have access to the root gallery. How do I change the breadcrumb to link to the users album instead of the gallery?
Posts: 4342
explain to me how you set this up so I can replicate and do some tests, please.
Posts: 5
In the "site admin" I setup the user album option to redirect users to their album everytime logged in (I ticked the option "jump to user album after login"). Thus, users will not able to access root album and I only allow admin to view root album. Since this is an online photo album, I only allow user to view his/her album only.
Let say the user's album named USER. Thus, when the user logged in, the breadcrumb on the upper left side will show USER. But if the user clicked "view cart" or "add photo to cart" (anything related to checkout/cart module), the breadcrumb will suddenly changed to root album --> "Gallery". As the root album only restricted to admin only, an error message will appear if the user click the breadcrumb mention that there's a security violation occurs. How can this be fixed?
I thought this is no issue to others but I did found out that most of users that using cart/checkout module are not having such setup as mine. I could be wrong but that was based on 10 demo site that I visited this morning.
Pls advise. I only waiting to solve this problem before the website can be launched. Let me know if you can't simulate the problem at your side and I'll provide you more info as required. Appreciate your help dude!
Posts: 4342
I'm guessing that this is an issue with all versions of Checkout including 0.1.18 that's on the SVN server, and not something specific to release 0.2.1 - so I'm going to put it to one side as a feature request rather than a bug. (In short, I don't know how to solve the problem and I don't think I'll have much chance to check over the next few days - sorry.)
Mostly I need feedback from people who are having problems specific to 0.2.1.
An alpha version 0.3.0 with much improved automatic customer contact emails should be along very soon.
Posts: 16
I notice that there's an order number on the Order Management page. Is there a way to print this order to the user on the order confirmation page ? If they're writing a check, it would be good to include this order #.
Thanks,
-- John
Posts: 4342
The order management facilities have changed in 0.3.0 - you actually get to update the order status and send emails to customers.
If you're all very very nice to me I will tidy up and release my private module that prepares and downloads a neat and tidy pdf invoice/delivery note complete with thumbnails of all the pictures. Photobox eat your heart out.
Posts: 104
Thank you very much Alec!
_________________________________
Chris - http://ChristianJamesPhoto.com
Posts: 16
Awesome. Yo the man, Alec. Would love to get the VIP pass for version 0.3.0.
Cheers,
-- John
Posts: 11
Hi Alec,
In your planning would it be simple enough to extend the per item customization to include postage/freight to that an item can have a particular postage/freight attached to it rather that having the buyer select the applicable rate. I sell framed prints which vary in weight and size. This ability would be awesome.
Cheers
Geoffrey
Posts: 4342
@freight per item: yes, reasonably straightforward. The hardest part - as with all these neat features - is to avoid making life even harder for the majority who don't need them. (Every time I can *remove* a configuration option from the admin page I give a little cheer.)
I suppose you would give each item an assigned weight, then add up the weight of the order and look up the total weight to find the shipping cost, per region/delivery service. That means: an extra field for the weight of each product (is it settable per album/image as well? that means more boxes to fill in...) and a table expandable in both dimensions with columns for different delivery services and rows for different weight bands.
I'll be honest and say there are other neat features I want to implement first - ones that I use myself, which is the main reason for spending the last three weeks on this module(*) - to get it to the stage that I can do that. Then, maybe I'll have some time to go take some more pictures!
(*)that, and the adulation and hot chicks, of course.
Posts: 4342
Sorry I misunderstood what you were asking. Yes - it is already. Also the order confirmation page the user sees is now (in 0.3.0) configurable (kind of plug and play in the templates) to include the shipping information, download link and information, order status (waiting payment, paid, shipped, etc) and order contents, or whatever you want. The customer can also bookmark it and come back to it for an update. (An obvious extension is to include a link to your delivery tracking services, although I haven't included that.)
Posts: 5
Alecmyers,
Understood your situation, but if you could help me to give some ideas of not viewing the breadcrumb when the cart module accessed (if no way to fix the problem), that would be great. No worries if you need some time to look into this problem. May be you can include this in your next 0.3.0 release. Would you mind?
I like the features in checkout module and absolutely will stick to it. When the new version 0.3.0 will be released?
Posts: 16
Real quick:
(1) As far as I can tell from the posts, as of 3.7.08, the download as zip feature is NOT currently working? Can't seem to get mine to function properly.
(2) Is anyone getting an infinite loop of emails sent to you after a test purchase? This is happening to me.
Thanks,
Daniel
Posts: 5
Seems to have worked
Thanks very much. Will continue to try and break it in other ways now....
Posts: 5
Hi Alec,
My 2 cent on new features that I would love to have in your new checout ver 0.3.0:
(1) Discount option - with a privilege for admin to set the condition of discount how much the discount will be. E.g. if total photos ordered more than 100pcs, customer will get free shipment or 5% discount.
(2) Direct link for customers to make payment thru online banking/credit card. Upon clicking the link for credit, custom payment form will popup for customer to fill up and have credit card # verification as well. But for online banking, admin will have privilege to set the URL of the banking and might also put a picture/icon to link to the online banking.
Hope that wasn't too much for you and I have a good feeling that more and more people will get excited to use this module for their transaction. Wasn't that cool??
Posts: 4342
mfaizalar:
@discounts - I am going to implement some kind of discount codes. Quite how it will work I haven't decided yet, as everyone will want different options (some % discount, some fixed discount, some dependent on minimum quantity etc etc.) The absolutely *best* way is for you to learn to program in php then you can (all!) modify the code to do your exact requirements, whereas anything that I write is going to be a compromise.
@direct link: the paypal plugin already does almost exactly this. If you have an API for an online payment provider then it's straightforward (if you know some php) and you are most welcome to join in and write a plugin to use that method of payment. The downside is that most payment providers automated response systems (that would tell Gallery when payment has been received) require a secure connection using https://, and that requires as I understand it a fixed IP address on your server and an encryption certificate. Paypal is the odd one out in that respect - Google Checkout certainly needs it.
Posts: 16
I should have indicated that I am using the checkout w/paypal module and I competed a real order - not a sandbox order. Still can't get any zip features to work.
Can anyone please verify that zip download is not fully implemented yet.
Posts: 4342
As far as I know, the download feature works in 0.2.1 just as well as it did in 0.1.18 - it's not something I've altered. I have tested it again in 0.3.0 as it stands at the moment, and it functions as it should, to the extent I've tested it.
Infinite loops of emails are also not something I would expect or have experienced. I'm now running 0.2.1 on a production server, have taken many orders through it via paypal, and have experienced no particular issues with the email section.
If you can be more specific about the problems with the downloads beyond "it's not working" then that would be more helpful ...?
Posts: 16
I was dealing with an upgrade. When in doubt - uninstall and reinstall. Works like a charm! Donatation email for paypal?
Posts: 4342
"Donation email for paypal" - explain?
Posts: 8
Hi Alec
I have just installed 0.3beta and I really like the way you are progressing the module. Keep it up (and British ;)
My problem is the same as you found with the paypal and email modules. I need to use Google Checkout and the module that is out there (0.1.1) is based on the earlier checkoutpaypal module.
Is there an easy(ish) way to incorporate the changes from the paypal module into the google module?
Thanks
Posts: 4342
The short answer is - probably.
The longer answer is this: I was reading the specs for Google Checkout the other day, and it looked straightforward. I was disappointed to read that the callback notification (order-paid) from Google requires an https:// address to post to on your server, which many people will not have. Then yesterday I realised that my hosting provider (hostmonster/bluehost) as a courtesy provides an https url for their servers, so that http://www.my_hostmonster_site.com can also be accessed as https://www.hostmonster.com/~my_hostm - and that will be adequate for the postback. (it's ugly, but the customer never sees it.)
That means for the lucky few who have this a full google checkout module is feasible. And, I hope, with the new module architecture, simple to integrate properly. It's something I mean to look into over the next week or so.
If you don't want automated payback notifications then it's even easier, and will work for everyone. I can imagine that it's possible with a module of no more than about 6 files total. I haven't yet looked at the existing module, so I don't know whether it would be easier to modify that or start from scratch (using it perhaps as a guide).
I suppose it will have to be called checkoutgoogle - as checkoutcheckout and checkoutgooglecheckout both sound really silly.
@British: it's coded in international English, templates are written in US English as per the Gallery standard, and I've provided a en_GB.po file. I've had welcome offers for translation to German, Spanish and Italian, I think, so far, and when the text settles down I mean to take them up - so we should all be happy!
Posts: 4342
On the subject of discounts: here's what I'm planning:
A table of discounts. Each discount has the following properties, all of which are optional.
Constraint: minimum spend
Constraint: minimum no of items (images)
Constraint: minimum no of products (total quantities)
entry code
discount description to display in the order
percentage discount
fixed discount
free postage (yes/no)
applies by default (yes/no)
priority
Each discount that applies is then matched against any order placed (at the confirm stage) in order of priority. The first discount where the order satisfies all the existing constraints is applied (and only the first.)
There is an admin-optional entry box on the cart page where the customer can enter their own entry code. The list of applicable discounts is therefore {any discount marked as 'applies by default' PLUS the one matching the entry code the customer enters (if such a one exists)}.
For a fixed discount structure (say 10% off over £100, 5% off over £50, free postage over £20) enter each discount, make them all 'apply by default' and have the bigger ones with the higher constraints at higher priorities so they are matched first.
Customer-entered discount codes can override applies-by-default discounts if they have a higher priority set.
I think this will satisfy most requirements - as usual, comments requested.
Posts: 11
Hi Alec,
Just found something you might want to know about. I have 0.2.1 installed on test server. When I configured the theme via the Themes link in Site Admin the Pricing info appeared on the album page when I had it configured not to and did not appear on the photo page when I had configured it to. However, when I configure the theme via Edit Album everything works as I expected.
Posts: 4342
Hi Geoffrey,
That sounds like a problem with the theme. Checkout declares the existence of a pricing info block, but it's up to the theme to include in the right pages. Which theme are you using?
Posts: 11
Matrix
Posts: 16
I want to give you $$ for your work. Do you have a paypal email address I can send it to?
Posts: 16
Alec, I just installed 0.3.0 on both a clean install of gallery 2.2.4 and an older upgraded 2.2.4 gallery install.
I am able to complete the payment process with PayPal, but when I click the button to "return" from Paypal back to my site, it doesn't connect back to my site properly i.e. times out.
In addition, after I pay, I get confirmation emails from paypal, but no orders are listed in the Checkout Orders plugin and no emails are sent from my site.
I thought that it might have to do with my "upgraded" gallery install so I installed gallery again just to see if that was the problem. It does the same thing for both installs.
Posts: 4342
That's interesting. Can you do the following for me please: complete an order with paypal, and then post (or PM me) the entire link destination that you get offered for the "return to site" link (or whatever you gave for that option) after payment, by right clicking on it and choosing "copy link" or whatever it's called.
Also, the base url of your site please. Is it a site I can reach and place a sample order on myself?
That's a very kindly thought indeed, but the work I've done to date has been mainly for my own benefit on sites that I run, and the debt I owe to the Gallery project is still in their favour - so please donate instead to the project funds - there's a link at the bottom right of each forum page.
Posts: 8
Alec
That would be great if you could implement a proper GoogleCheckout module.
I managed to fudge together enough code to make the old Google module work after a fashion but it is far from complete. You are more than welcome to have it if it points you in the right direction but it is only a simple HTML API version.
Not being a PHP programmer it is all a little frustrating but good fun.
I'm also finding that PGTheme is not showing Add to Basket buttons however I configure it - there are a lot of variations and maybe I haven't stumbled on the correct combination yet.
Have fun
Thanks
Posts: 16
text deleted by user
Posts: 11
I am new to G2 and Checkout. First of all, thanks for all your hard work developing this module.
I just installed Gallery 2.2.4 and Checkout 0.3.0. I am using the Carbon theme which has an Add To Cart icon that works with Cart and shows up on the image page above and below the photo. After activating Checkout and deactivating Cart, this icon no longer shows up, and the Add To Cart link only shows up in the Item Actions list. Is there a way to use Carbon's Cart icon with Checkout?
Thanks
Posts: 16
I just upgraded to version 0.3.0. The new order management feature works great !! It came just in time for the production launch of my website next week. One small nit ... When I cleared an ordered via the admin screen, the e-mail says that payment is received, but the order status says that "We are waiting for payment ..." (below). Anybody else seeing this ?
Thanks,
-- John
------------
Order Number: 361
Payment for this order has been received and it is being processed.
You can check the status of this order any time here:
Order Status
Order Status: We are waiting for payment for this order.
Posts: 4342
Hi Tcphoto,
Glad you like Gallery!
Please note (I tried to make it clear at the head of this thread that checkout 0.3.0 is suitable for testing specifically by those people who are already familiar with *both* Gallery and the Checkout 0.1.18 that is the default installation. This is not a general support thread for Checkout as I'm really soliciting bug reports that are specific to Checkout 0.3.0. My recommendation is to install checkout 0.1.18 as it's stable and (mostly!) bug free. If you have problems with that module then check the documentation, search the forums (almost all questions have been asked and answered many times over) and if that still doesn't get things going for you then by all means post a question in the support area of the Forum.
Incidentally, the 'icons' question has already been asked (and answered) in this thread, even.
Many thanks!
Posts: 4342
Hi John,
Checkout 0.3.0 is *not* *suitable* (NOT SUITABLE!) - *I*S* *N*O*T* *S*U*I*T*A*B*L*E* for a production launch next week. You *must not* attempt to take people's money through software that is not tested out yet. Please *uninstall* it and use version 0.1.18 available from the repository. If you want to help flush out remaining bugs then please install 0.3.0 on a test server, and I will appreciate the assistance, but I categorically don't want to be part of p*****g off your customers because an un-noticed bug stopped an order going through, ordered the wrong quantity, overcharged someone, or whatever.
Regarding the order status: what does the order management screen report the status as after using the clear payment button?
Posts: 16
The Order Management screen does report the correct status ...
Order Status
Payment for this order has cleared, and it is being processed.
-- John
Posts: 4342
If you send the email a second time, does it show the correct status then?
Posts: 16
Yes, looks like if I clear it a second time, the 2nd e-mail has the correct status.
Thanks,
-- John
Posts: 4342
Ok, that's a definite bug (now fixed) and when I've chased up a couple of other points, I'll update the code at the head of the thread.
It's a very good illustration of why this code is *not* ready yet for production use... am I making myself clear!?
Posts: 25
That sounds excellent. Thanks for your hard work and keep it up!
Posts: 25
The new order system is great how you can pick multiple sizes per item, but once an item is added to the top list from the drop down menu it stay there even if you put 0 into the qty. I think if you put 0 into the qty and save the basket it should return the item to the drop down list.
Is that possible?
Also the 'ask for a discount code' option doesn't work. It always asks no matter if that box is ticked or not. Not sure if you know that aleady!
Rest of the changes look good and it seems pretty stable too! Especially for a beta version
Posts: 25
Just noticed also that there isn't a box to switch off downloads all together, like there used to be.
It always brings up this message:
Download Information
This order does not include any downloadable items.
Since I don't have any options for downloadable items.
Posts: 4342
It is possible - although the present behaviour was a conscious choice by me. It's fewer clicks for a user to reinsert an item into the order this way, and fewer clicks -> more orders. it means for instance that you can add four or five products quickly, and slot the quantities in later. I'll publish a code mod if you want to alter it - I think it only involves changing a single line.
Thanks, that's fixed now
Too many possibilities here: either (I) you don't have any downloads at all, in which case you don't want to mention them, ever. Or (II) you have *some* downloads, but you don't want to mention downloads if there aren't any in the order. Or (III) you want to say "there are no downloads in this order" - because it will remind people that next time they could buy some. All are possible with a tiny weeny bit of template editing, but I'm resistant to hundreds of switches in the admin page, especially for things that don't change very often. The template to edit, in this case, is checkout/templates/Download.tpl - the as-shipped default being (III). Just delete line 28 for case II or leave the whole file blank for case (I). As usual with .tpl files, you can put your edited version in a /local folder, and that will be used by preference.
Incidentally, the email template, checkout/templates/email/Download.tpl is even more circumspect. It only inserts text into the email if there are downloads and they are also ready.