PayPal integraion for Zenphoto - zenPayPal

UPDATE: eZenphoto will be availably shortly. Check out this topic and/or bookmark eZenphoto.com

zenPayPal - A Zenphoto plugin that allows selling custom size/color prints using PayPal.

Features:

  • Sizes/Prices easily customizable.
  • Prices auto-update based on selection (sizes / color).
  • Picture Title + Size + Color becomes the Item/Product name during checkout.

Just update your PayPal UserID in paypal.php, Line 2. Thats all!

Demo:
Demo 1 (Basic) - Demo 2 (customized)

Download:
zenPayPal.zip 2 KB (1,764 bytes) - Installation instructions Included

If this helps, great! Let me know in the comments. :-)

———

UPDATE: zenPayPal.v0.15 replaces the plain “Buy Now” button with an “Add to cart” feature.

31 Responses to “ PayPal integraion for Zenphoto - zenPayPal ”

  1. WOW! Needed this badly.

    Thanks hey!

  2. Works like a charm!

    I like the customized version a lot. ;-)

  3. What do you mean by the following?

    below:

    I couldn’t find that line

  4. below:

    I couldnot find

  5. I tried your code on allenlenth.com, but it did not create the buttons - Any suggestions?

    aallen

  6. Allen,

    You seem to be using gallery2 and not Zenphoto? Although it should work with a little customization, but I haven’t tested it on gallery2.

  7. Stephen Billard said:

    This hack has now been ported to the new Zenphoto plugin architecture. See the Zenphoto nightly builds.

  8. Step 2 of your install instructions say “Add the following code at approx line 43″. I’m not sure which file I’m supposed to be adding the code to. Is it zenPaypal.php? index.php? You reference an HR tag, but I can’t seem to find one in either of those files.

    Thanks for your help!

  9. Cameron,

    Whoops, I forgot to mention the file — in image.php.

  10. Thanks for your reply - that worked! Would you be able to e-mail me your paypal.php file so I can see how you implemented the `Add to Cart` feature (rather than buying one image at a time)

    Thanks again!

  11. Get it here: zenPayPal v0 15

  12. I really needed this :) but I want the buyer to be able to download the selected file size instantly after they pay? Is this possible?? Or do I have to email them the photo after I recieve and proccess their payment?
    Thanks for the plugin
    Emmanuel

  13. Nifty plugin, but I have a question. Is it going to be possible to sell different pics at different rates?

    Say I have a picture of a box I want to sell at $10.
    I have a picture of a tree I want to sell at $15.
    And then I have a poster I want to sell at $50.
    I also have some pictures that are not for sale at all, so I would want to turn the PayPal off for them.

    Is this going to be possible in future versions of this plugin? :-)

  14. Great tool! Thanks :)

  15. I am currious if you have played with a link to the filled cart, so that customers do not have to add an item to the cart in order to check the cart or check out. Any help or guidence will be greatly apprecited.

    Thank you,

    Spencer

  16. Hello… do you still support your version of zenPayPal…?
    if so How can I change the width in the CSS settings…
    and how can I change the color of the text to yellow bold and the background to black

    I have got yours to work and I like it better then the one that is in ZenPhoto, you can see your prices and is easy enough to get going…

    I do like the radio buttons you have and I do like the cart version a lot better then the buynow it allows the user to chose more than one photograph..
    Thanks
    Charlie.Ballard@oldwaverlytex.com

  17. http://qelix.com/work/zenpaypal/zenPayPal.v0.15.zip

    Should be:

    http://www.qelix.com/work/zenPayPal/zenPayPal.v0.15.zip

  18. I am using the version of the plugin that comes with the latest release of ZENphoto. Is the “Add Cart” code there and I just missing something. Some help would be appreciated.

    Thanks - Phi

  19. Hi Phi,

    I haven’t used the zencart version yet, so I’m not sure. But wait for a couple of days, if you can, for a major update that supports paypal and also credit card (not via paypal) payments, full featured cart, custom checkout form (not via paypal, like now) and what not…

  20. [...] by Ebrahim Ezzy (Nimbuz) adapted as a plugin by Stephen Billard [...]

  21. Demo’s do not work, the updated file to the v0.15 does not work

    Cheers

  22. Great plugin!

    Can you please tell me how to inclue Album Title in checkout?

    Thanks

  23. The demo links are broken…

  24. Interested in using paypal with Zenphoto. Are you still involved in this actively, I would like to be able to customize at least groups with different prices, perhaps using individual paypal buttons with different pricing rather than coding the prices into the zenphoto side of things ??

  25. Need help with this a bit, is there someone we can pay to aid? Want to figure a way to have options for selling. We used it for a client who sells polished car part…www.polish-this.com. Desperate to use ZenPhoto as it perfect for his needs.

  26. PLEASE contact me ASAP, I need to hire someone to help me modify this.

  27. demo sites not working!

  28. Is it ZenPayPal or eZenPhoto?

    Installation instructions say to edit line 43. Ok, so I looked through the messages and found that this is line 43 in images.php. Where is this file?

    Also, themes that don’t work correctly — with no feedback on reported issues.

    Don’t get me wrong, I like ZenPhoto for personal photos.

    But I’m not sure if anyone who is trying to develop a serious commercial site would want to use this.

    The support and documentation is very thin on this product.

    I’ll continue looking into this, but I’m starting to look elsewhere, and I may add these comments to the ratings sites.

  29. I’m amending my last post.

    Here’s an updated installation guide with steps I figured out via trial/error.

    Let me know if you still need more details. Perhaps together we can all create a better document.

    I’ll post an update once I figure out how to do the paypal integration.

    Stuart L. Riley

    INSTALLATION GUIDE

    Updated by Stuart L. Riley (slriley@ymail.com)
    July 27, 2009

    1. “upload” directory contains all the files and folders required for installation. Copy this directory or the contents of this directory to your desired location, usually root (/).

    1.a Be sure to do steps 2-5 first, beford uploading. It’s easier to edit files locally on your pc, then upload.

    1.b By “upload”, this means all files & folders UNDER the “upload” folder, not the upload folder itself.

    1.c “Usually root…” is not very descriptive, so I’ll elaborate…. In ZenPhoto, you can create individual galleries by installing ZenPhoto in individual folders under your “public_html” folder. I have 2 folders so far: Private and Public. In the ZenPhoto admin screen, under “edit”, I see these folders as 2 separate galleries. If I want to add paypal capability to either gallery, I’ll upload these files & folders to the folder with that gallery name. But first, backup your gallery folder contents (no need to backup the album) before you upload the edited files (per steps 2-5) to the gallery folder.

    2. Create a Database and Import “db.sql” to the database.

    2.a For hosted web sites, you will need to create the database through them. Consult your host site administrator, if you don’t know how to do this.

    2.b Your hosted site should have a way to run SQLs. I use Hostmonster, so I’m familiar with how they handle it. I can run this SQL via PHPMyAdmin.

    3. Update database details (user, pass and db name) in the following files:
    - upload/zp-core/zp-config.php
    - upload/shop/db/access.inc.php

    3.a Do this editing BEFORE uploading to your web site. It’s easier to do the editing on your local pc.

    3.b This is pretty much self-explainatory. If you don’t know the syntax for your database name, user name, etc., you should consult your host site’s administrator. This took me awhile to decode, but once I understood it, I got it to work.

    4. Update RewriteBase path in upload/.htaccess.

    4.a Same as 3.

    5. All Done!

    5.a Well, not quite. You still need to do the setup via the admin screens. Links are listed below.

    5.b If you are not familiar with the syntax, you can access the eZenPhoto admin screen by typing the following in the url field at the top of your browser: http://www.websitename.com/shop/admin/, where “websitename” is the name of your website, and I’m assuming “com”, but you may replace this with whatever you use: net, org, etc.

    5.c This is as far as I got up to now. I still need to connect this all to paypal itself. I’ll add more to this as I figure it out.

    Zenphoto Admin: /zp-core/admin.php (Default User:Password = admin:admin)
    Shop Admin: /shop/admin/ (Default User:Password = admin:admin)

    If you’ve any questions regarding Zenphoto, please post on Zenphoto Forums. For feedback & suggestions regarding eZenphoto, please email info@ezenphoto.com.

  30. [...] of the older zenPaypal plugin that has been abandoned quite some time ago by its original developer Ebrahim Ezzy (Nimbuz) who moved on to his eZenphoto package which sadly is still no [...]

  31. [...] by Stephane Huc (hucste) based on the original plugin developed and now abandoned by Ebrahim Ezzy [...]

Leave a Reply

Anti-Spam Image