zenphoto forums » Plugins

ZenPayPal 1.1.7.3 is out!

(9 posts)
  1. hucste

    Contributor
    Joined: Jul '09
    Posts: 170

    This version correct a litte bug with quantity and rewrite HTML Code for the element table that permit to view the price list...

    http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN
    http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-FR

    Posted 2 years ago #
  2. hucste

    Contributor
    Joined: Jul '09
    Posts: 170

  3. wdiggles

    Member
    Joined: May '11
    Posts: 23

    Is there a zipped version that can be opened on a powermac w/osx 10.4? There is no software available to open a .tar.xz for an older mac. Also my host is godaddy and their ftp program will not unarchive a .tar.xz file.

    Thank you,
    Warren

    Posted 2 years ago #
  4. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,350

    That is not exactly true.
    http://code.google.com/p/theunarchiver/

    The latest still does run on PowerMac with 10.4 (I have one!) and is able to extract.

    Don't forget to read the Forum rules and usage resources
    Posted 2 years ago #
  5. wdiggles

    Member
    Joined: May '11
    Posts: 23

    Thank you! It worked, I stand corrected ;-)

    Posted 2 years ago #
  6. wdiggles

    Member
    Joined: May '11
    Posts: 23

    Would love to see the feature of displaying the filename in a paypal receipt instead of the imageTitle. I could just use the filename for the title.. but that is not best for seo, I want to use imageTitle as the title of my page that a image resides on which more flexible and best for seo.

    That being said, using the actual filename would be best in a paypal sales receipt. I tried using getFileName in lines 403 and 404 of your zenpaypal plugin but it didn't work. Is there a way to achieve this?

    Posted 2 years ago #
  7. wdiggles

    Member
    Joined: May '11
    Posts: 23

    Still trying to figure this out, code from zenPaypal.php

    if(function_exists('getAlbumTitle')) $item_name = gettext('Album: ').getAlbumTitle();
    if(function_exists('getImageTitle')) $item_name .= gettext('; Image: ').getImageTitle();

    If I exchange getImageTitle text for getFileName shouldn't the FileName show up on the Paypal checkout? When I do this it only displays the AlbumTitle.

    Looked through documentation but can't figure it out..

    Any help appreciated

    Posted 2 years ago #
  8. micheall

    Contributor
    Joined: Aug '09
    Posts: 513

    Add this to the beginning of the function:

    global $_zp_gallery, $_zp_current_album, $_zp_current_image, $_zp_current_zenpage_news,
    				$_zp_current_zenpage_page, $_zp_gallery_page, $_zp_current_category, $_zp_authority;

    Then change your getImageTitle line to this:

    if(is_object($_zp_current_image)) $item_name .= gettext('; Photo: ').$_zp_current_image->getFileName();
    Posted 2 years ago #
  9. wdiggles

    Member
    Joined: May '11
    Posts: 23

    Thank you! Works like a charm :-)

    From Paypal cart

    Album: Architectural Homes Interiors; Title: Brannen Homes - Northern Colorado Luxury Homes; Filename: A8EW0942.jpg

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.