ZenphotoCMS Forum
ZenPayPal 1.1.7.3 is out! - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: ZenPayPal 1.1.7.3 is out! (/thread-8446.html)



ZenPayPal 1.1.7.3 is out! - hucste - 03-04-2011

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




ZenPayPal 1.1.7.3 is out! - hucste - 04-04-2011

New URL : http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin




ZenPayPal 1.1.7.3 is out! - wdiggles - 05-05-2011

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




ZenPayPal 1.1.7.3 is out! - acrylian - 05-05-2011

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.




ZenPayPal 1.1.7.3 is out! - wdiggles - 05-05-2011

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




ZenPayPal 1.1.7.3 is out! - wdiggles - 07-05-2011

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?




ZenPayPal 1.1.7.3 is out! - wdiggles - 07-05-2011

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




ZenPayPal 1.1.7.3 is out! - micheall - 08-05-2011

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();




ZenPayPal 1.1.7.3 is out! - wdiggles - 08-05-2011

Thank you! Works like a charm :-)

[i]From Paypal cart[/i]

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