ZenPayPal 1.1.7.3 is out!

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

Comments

  • 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
  • acrylian Administrator, Developer
    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.
  • Thank you! It worked, I stand corrected ;-)
  • 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?
  • 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
  • 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();
    `
  • Thank you! Works like a charm :-)

    From Paypal cart

    Album: Architectural Homes Interiors; Title: Brannen Homes - Northern Colorado Luxury Homes; Filename: A8EW0942.jpg
Sign In or Register to comment.