Shopping cart - Page 13 Shopping cart - Page 13
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Shopping cart

Started by Stramm, June 04, 2006, 09:02:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jarrod

Stramm, I've thought of yet ANOTHER reason why the further integration of paypal would be a good idea.
Imagine people wanting to buy a picture they like.
If they aren't registered on the site they first have to register.
After that, they have to pay.
If they haven't got a paypal account they'll either have to register a new one (entering all their details again) or use a credit card.
Either way they'll have to choose a delivery address.

If this delivery address is emailed to the webmaster/shop owner then surely it isn't necessary for them to register.

Additional:
If someone accidentally closes their browser before paying, there is no link to payment anymore.
Could the return address from a successful paypal payment take you to a page that empties the "cart" from your cookies, rather than the cart being empited as soon as you press "confirm order". This would be more helpful to customers AND webmasters as it would mean that all orders that go in the database have already been paid for (theoretically - although you mentioned above that someone could fake a cookie, the webmaster would not have been emailed from paypal).

I apologise if my post contains too many suggestions/ideas. I thought it best to type them out before I forgot them

Jarrod

I forgot to mention, Stramm.
I have succesfully implemented a multiple packaging type alteration to this plugin.
Would you like me to tidy it up and send you a copy?

kiwibloke

Hi,

Great plug-in... but having problems with clearing the cart.

Basically, I have no items in the cart yet it says I have 6 items. I have deleted then reloaded the plug-in and still teh same.

I have deleted cookies... and still the same.
I have deleted the database and re-created ... and still the same...

What am I doing wrong???

Only have this issue on my Dev PC... so must be a session or cookie issue???

When I click the cart I get this error:

While executing query "SELECT * FROM cpg1410_shop_prices WHERE aid=" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1


Cheers

KB

Stramm

Quote from: Jarrod on February 17, 2007, 12:12:03 PM
I forgot to mention, Stramm.
I have succesfully implemented a multiple packaging type alteration to this plugin.
Would you like me to tidy it up and send you a copy?

If you'd post your modifiacations here ... that would be awesome

your thoughts about paypal integration:
- with the current shop layout people necessarily have to register no matter what. The person ordering this shop wanted to print and send photos to his customers. So he's in need of the address. The shop admin makes use of the customer details. Without that no uid, customer user/ nick name, nothing you could use to connect an order to

- you could modify your email (language file) and include a 'paypal pay now button' -> something like 'if you haven't paid yet yadda yadda you can use paypal yadda'

As already mentioned... I don't consider the payapl talkback feature to be failsafe/ cheatproof. So I'm not going to implement it. For some 'advanced' webmasters it may be a great feature. Still others might come here and complain when they become a victim of some cheater.

Stramm

Quote from: kiwibloke on February 19, 2007, 05:14:32 PM
Hi,

Great plug-in... but having problems with clearing the cart.

Basically, I have no items in the cart yet it says I have 6 items. I have deleted then reloaded the plug-in and still teh same.

I have deleted cookies... and still the same.
I have deleted the database and re-created ... and still the same...

What am I doing wrong???

Only have this issue on my Dev PC... so must be a session or cookie issue???

When I click the cart I get this error:

While executing query "SELECT * FROM cpg1410_shop_prices WHERE aid=" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1


Cheers

KB

Try again clearing cookies. That's usually the problem (eg when someone has a certain pic in his cart that got deleted in coppermine later on -> MySQL error -> an avoidable error message that I'll take care of the next weeks)

Coolapix

Quote from: Stramm on February 15, 2007, 10:42:04 PM
1. it displays correctly

Hem....

Excuse me Stramm but... I don't drink every day  ;D

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.pbase.com%2Fritchie63%2Fimage%2F74640408.jpg&hash=3b5f64746a4f6959f7c04337ccf811c27a229d53)

If i knew how to "repare" that, i wouldn't come to ask the question...  :-[

iphi63

Tu modifies l'inversion de la traduction dans le fichier french.php. Si c'est la question.

kiwibloke

Quote from: Stramm on February 20, 2007, 07:35:47 PM
Try again clearing cookies. That's usually the problem (eg when someone has a certain pic in his cart that got deleted in coppermine later on -> MySQL error -> an avoidable error message that I'll take care of the next weeks)

Cheers... it seems a bit hit or miss, would be great to have a cleaner method.

I notice on the logout.php script it has cookie killing commented out... should it be??? (latest build)

dnsphoto

Ok some how I missed it but how do I make paypal work. I have no clue about how to code or any of that stuff. So tal kto me like your telling a kid what to do. I am worst then a kid I am old and this is all new to me. Thanks

jboeke

Stramm!  Thank you so much not only for all the time and effort you put into this plugin, but also for keeping up with all the support and new feature requests found in this topic.

I was a bit lukewarm on Coppermine to start, but your plugin turned it into EXACTLY what I was looking for.

As a very small token of my appreciation, let me at least take one reply off your hands...

dnsphoto- - I just turned on PayPal for a site I am building.  Here is how to proceed:

1.  Navigate to: /plugins/photo_shop/include/
2.  Open the file: gateway.inc.php
3.  Go down about 33 lines or so until you get to this line:  //2. Add PayPal button
4.  Go down a couple more lines.
5.  Change this:  $CONFIG['photo_shop_paypal_enable'] = '0';
6.  To this:  $CONFIG['photo_shop_paypal_enable'] = '1';
7.  If you are in the US, you can skip the next few lines, otherwise read the fine comments.
8.  Finally, change this:  $CONFIG['photo_shop_paypal_email'] = '';
9.  To this: $CONFIG['photo_shop_paypal_email'] = 'you@aol.com';
10.  you@aol.com should really be your PayPal account email, of course.
11.  Save that file and load up your page again.  All good!



colin911

Stramm.  I'm seeing a problem in the cart between logged in users and non logged in users.  If you are logged in the shopping cart works fine.   If not, then it just shows up in plain text like this:

Add image to shopping basket: 4x6 File - USD30.008x10 File - USD40.00Add to CD   

There is no drop down or "add" button. 

Where do you think the error lies? Thanks in advance.

Stramm

Works for me - and I think for most others too. So a link would be helpful


wuschel_lux

#253
Quote from: colin911 on February 27, 2007, 12:11:26 AM
If you are logged in the shopping cart works fine.   If not, then it just shows up in plain text like this:

Add image to shopping basket: 4x6 File - USD30.008x10 File - USD40.00Add to CD   

There is no drop down or "add" button. 

Where do you think the error lies? Thanks in advance.

Hi colin,

I have had the same problem. The only thing I made, I changed the plugin order.
Here a list (order) of my plugins, with this order it works fine:
1. Full-Size Photos Access Control v1.4
2. Photo Shop v1.3.3
3. Onlinestats v1.7
.....

I hope it will help.

here my old post reply 70 -> http://forum.coppermine-gallery.net/index.php?topic=25010.msg194140#msg194140

Regards

colin911

That did the trick.  many thanks.

jgalty

I have a little issue.  Everything works great up until i get to confirm my order.   When i click on "confirm your order"  it will sit for a bit then bring me to a blank page with nothing on it.  So the user doesn't think anything happened but......

If i log in as admin i can see the order that i just placed but i was wondering if any one had any suggestions for me.

Stramm



Stramm

please enable something that allows to test emailing (like ecards)

jgalty

Done....it doesn't send emails as well.