cpgShop - a PayPal shopping cart - Page 6 cpgShop - a PayPal shopping cart - Page 6
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

cpgShop - a PayPal shopping cart

Started by Stramm, October 11, 2010, 05:04:51 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Juztme

Quote from: Stramm on December 18, 2010, 02:43:32 PM
libs/HTMLElement.class.php
have a look at the function advance_select

Thank you so much - that worked perfectly....

Now I am almost there - and with a danish version of the languagefile. I will try to put it up here, when I have checked it over once more for spelling errors etc.


papukaija

@Rockas:
Quote from: Stramm on October 11, 2010, 05:04:51 PM
The plugin in its basic version doesn't come with PayPal IPN nor with digital image download support.
For a donation I'll send you the full version. Just leave a message here and I will contact you using the forums private messaging system.
(PMs are disabled for reasons explained in board rules).

vanceb

HELP ;D
Hi Stramm or anyone, I have managed to get every thing to work with this great program, but i am now lost on what to do to get the connection to paypal, I have read the theads and i am still confused, i looked at the open ssl but i have no idea how to use it, do i need to upload it to my server? and which one am i suppose to use? if anyone can help me with the final steps i would be happy to make a donation to you.. I am a photographer not a computer programer..LOL

Thank you in advance.

Vance

Stramm

PayPal IPN is not a feature of the basic (free) version as I've written in the announcement thread and the docs. So you won't have luck looking any further ;)

QuoteThe plugin in its basic version doesn't come with PayPal IPN nor with digital image download support.
http://forum.coppermine-gallery.net/index.php/topic,67506.msg335122.html#msg335122
http://stramm.bplaced.net/wiki/doku.php?id=cpgshop

Juztme

Just another little question about discounts. I am playing with that feature right now...

When I add a discount with a value of 10 kr, then it's okay in the cart, but in the orderconfirmations it's changed to 1 kr. And when I press "See order" it's also changed to 1 kr and the calculations uses this "1 kr!...

What is going wrong here/What am I doing wrong here?

Printscreen etc. is given if needed

With Kind regards
Susanne

ChrisDennis

Two questions:

* under what licence is the cpgShop released?

* please can you contact me regarding the PayPal IPN feature?

regards

Chris

Stramm

The shop in its basic version is realeased under the GPL
The additional modules you may modify to your likings but not distribute them

Stramm

Quote from: ChrisDennis on January 24, 2011, 09:39:56 PM
Two questions:

* under what licence is the cpgShop released?

* please can you contact me regarding the PayPal IPN feature?

regards

Chris

A link with a testuser login would be cool

studentscene

Hi all,

I have the following issue:

When install the cpgshop plugin and do the database update I get "already done" for the following tables..

cpgshop_priceset
cpgshop_option
cpgshop_optionset

and they do not already exist...and dont get created in the database, checked with phpmyadmin. So I try to make them manually with SQL, but get an error back along the lines that "price_array cannot have a default value"

Any ideas?

Αndré

Remove the default value for price_array (and maybe other columes) in your SQL query/queries.

studentscene

I changed all the "TEXT NOT NULL DEFAULT" in the 3 tables to "VARCHAR(255) NOT NULL DEFUALT" and it seems to work ok, but not sure if this is the correct way to fix this issue or why it happened on a fresh install?

russell07

Hello, is it possible to set a default pricing setup for new images automatically. I.e. so a user can upload their image and then buy it as a print?

Thank you

Stramm

Quote from: studentscene on January 25, 2011, 10:47:28 PM
I changed all the "TEXT NOT NULL DEFAULT" in the 3 tables to "VARCHAR(255) NOT NULL DEFUALT" and it seems to work ok, but not sure if this is the correct way to fix this issue or why it happened on a fresh install?

Don't change the type but set no default value

Stramm

Quote from: russell07 on January 26, 2011, 10:26:47 PM
Hello, is it possible to set a default pricing setup for new images automatically. I.e. so a user can upload their image and then buy it as a print?

Thank you

That's possible but it's not just changing a line of code. That's some more work that has to be done.
I'll keep it in mind as a nice new feature.

dadepfan

Hi!

After reading this thread, my understanding is that the basic plugin requires manual interaction for purchase and delivery.  What I am trying to achieve is a simple shopping cart where guests or registered users can add digital photos to their shopping cart (all are the same price), then at checkout they would be connected to PayPal to make payment (PayPal will be the only payment method), and once the payment is verified, they would receive a link for downloading the original full-sized image (uploaded file has a watermark, buyer would download the version with the "orig_" prefix).

This requires some beyond-basic modules for a donation?  Can you please PM me here or at dadepfan@desautel.net to give me the particulars?

Thanks,
Dave

Stramm

What you describe are the two additional modules.
The enhancement for the payment process is, that PayPal IPN has been added (connects to PayPal, verifies if a payment has been made, if yes, some action is taken, eg. preparing the download, emailing the customer).
The download module creates a htpasswd protected download folder for the customer. You can specify different pic sizes the customers can purchease. It gets resized and copied into the download folder.

dadepfan

Sounds what I need - how can I get them??

dadepfan@desautel.net

calvinite

#117
Stramm,

I recently upgraded my Coppermine gallery from 1.4.x to 1.5.12.  I wanted to try out your cpgShop plugin, so I installed it on a copy of my upgraded gallery, which is set up on a local dev server that isn't on the web. It seems to be working okay, as far as I have tested it, but i found one issue. The cpgShop configuration button on the Admin menu wasn't displaying like the other buttons. It was only a text link with the icon. I made changes in the codebase.php file and corrected the issue. Here's what I did.

In cpgforum/codebase.php, find:
$add_button = '<!-- BEGIN cpgshop_control   --><li><a href="index.php?file=cpgshop/cpgshop_config" title="'.$lang_cs_codebase['cpgshop_mgr'].'"><span>' . $cart_config_icon . $lang_cs_codebase['cpgshop_mgr'] . '</span></a></li><!-- END cpgshop_control -->';

and change to:
$add_button = '<!-- BEGIN cpgshop_control   --><div class="admin_menu admin_float"><a href="index.php?file=cpgshop/cpgshop_config" title="'.$lang_cs_codebase['cpgshop_mgr'].'"><span>' . $cart_config_icon . $lang_cs_codebase['cpgshop_mgr'] . '</span></a></div><!-- END cpgshop_control -->';

It will now display like the rest of the admin buttons.

And,
Quote(I hope some native english speaker will correct my wording)
I also made extensive edits in the english.php file for you, to capitalize the titles of the buttons and column titles, to make them more consistent, as some of them were in caps and some were not. I think I corrected most of them, but could have missed a few. I've attached it as a text file for your review; and so you can find the edits I made I put a comment with my username, and what I did at the place of each edit.

Oh, and I also updated the currency symbols to include ISO 4217 currency abbreviations; i.e., United States Dollars (USD $), Canadian Dollars (CAD $), Great Britain Pound sterling (GBP £), Euro (EUR €), and  Chinese Yuan (CNY ¥).
I started with nothing, and have most of it left.

Stramm

Hi calvanite, thanks for your lang file and the fix for the menu. I'll appreciate this a lot.
As I usually use the standard theme I didn't recognize the menu issue ;)

Thomas


mikezeta

Hi, I started trying CPGShop Plugin, but I'm having trouble with it.
In  "price manager" I'm able to write down in the boxes some prices, but when I click on "enable/disable CPGShop for pics in an album" the drop down menu called "price" and  "option" doesn't show anything and I can't apply the prices to the pictures.
Can someone help me please?
(I use it with Coppermine 1.5.12)

Thanks in advance

Miguel