ZenphotoCMS Forum
ZenPaypal Plugin new version ! - 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 Plugin new version ! (/thread-6087.html)

Pages: 1 2 3 4 5


ZenPaypal Plugin new version ! - acrylian - 2009-11-11

Quick and easy workaround without even touching the plugin:
Use the custom image field to enter for example "nopaypal" and then check on the theme page with a simple "if" statement if the paypal function should be shown.




ZenPaypal Plugin new version ! - hucste - 2009-11-12

Version 1.1.4 !

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

@acrilian: if you explain me, simply that, please ;-)




ZenPaypal Plugin new version ! - micheall - 2009-11-12

What he means is the gallery admin would set a custom field up for a "nopaypal" check, and then in their theme files, they'd add something like "if (customfield != nopaypal) then display paypal stuff. I haven't worked with the customfield stuff myself so not sure the exact usage of it




ZenPaypal Plugin new version ! - acrylian - 2009-11-12

Thanks micheall, that's it. It's really just if(getImageCustomData() == "paypal") { printPaypal; }> (or the other way round).

I would suggest not to include this check within the plugin.




ZenPaypal Plugin new version ! - hucste - 2009-11-12

ok, thanks to both. I'm going to write this on my pages ;-)




ZenPaypal Plugin new version ! - micheall - 2009-11-12

@hucste

Your comments on the zenpaypal page under the tips should read:

You're missing the {} and a ;

Keep up the great work on the plugin though, it's nice to have it supported again!




ZenPaypal Plugin new version ! - acrylian - 2009-11-12

One short note to recommended Zenphoto function name guide lines, since you also reworked some code anyway and before you get too fat. Functions that only fetch data should be named getsomething and functions that do echo something printsomething. That makes it easy to see what a function generally does.

I just spotted that this is missing on our developer guidelines so I will add it.




ZenPaypal Plugin new version ! - hucste - 2009-11-12

@micheall: ty. the '{}' is not necessary when you have oe only instruction in bloc if ...but, i've missed ';' ;-)

@acrylian: ok, if i understand you, that's better than rename function 'zenPayPalDisplayPaypalLogo' to 'printPayPalLogoforZenPaypal', isnt-it ?!




ZenPaypal Plugin new version ! - acrylian - 2009-11-12

Shorter would be just printZenPayPalLogo() for example, if you want to keep the "zenpaypal" in all functions...:-)




ZenPaypal Plugin new version ! - hucste - 2009-11-12

ok, it's modified. v.1.1.5 !
(not necessary to update your version, just to be compliant with our guideline ;-) )

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




ZenPaypal Plugin new version ! - Laurent - 2009-11-12

Whaou,

you are great, i ask for a option yesterday and today i saw a new version, thank you very much to you.

@hucste : i saw your french web page, it's better for me ;-)
I will try it this week-end, to much work now.

Laurent




ZenPaypal Plugin new version ! - Laurent - 2009-11-14

I test your plugin. I have a blank page but i found how to do. There are a little typo error in your explanation on the french site. You have to delete the first "accolade" (sorry for the french name, i don't know it in english" just after the :




ZenPaypal Plugin new version ! - hucste - 2009-11-14

@laurent: ty. I've modified my french page. the symbole '{' is in english : opening brace. ;-)




ZenPaypal Plugin new version ! - shiatostorm - 2009-11-17

Great Plugin, well done.
Just one thing - I may have missed it but is there a way to have postage add just the once at all, rather than adding it on each time a new item is selected..?




ZenPaypal Plugin new version ! - micheall - 2009-11-17

Ah! I never noticed that myself as I always tested with multiples of the same item.

@hucste
When ordering multiples of the same item the S&H is only calculated once, but when ordering multiples of different photos it charges once per "photo" but not the # of those photos, if that makes sense.




ZenPaypal Plugin new version ! - shiatostorm - 2009-11-17

yep, thats what I've found. thing is if someone comes along to order picture A and then choose B, C and D they get charged postage 4 times... there might be a way around it in the paypal literature, I'll have a scan. There must be a way around it surely...




ZenPaypal Plugin new version ! - dp1304 - 2009-11-28

D'abord - merci bien Hucste, c'est fantastique! I have just loaded it up onto my DEV system and it just works, first time, no messing about, it just works. Thankyou very much for this. I do have two requests though to make it perfect for my purpose and that is the shipping charges. Request number one, is it possible to have a different shipping charge per item? Request number two, is it possible to be able to implement different shipping charges depending on where I am shipping to, specifically for my case I would like to offer different charges to Europe, USA and rest of the world.

Once again, many thanks for this.




ZenPaypal Plugin new version ! - mercury66 - 2009-12-02

Hello,

Great plugin - working to install on my site.

Was there any work around found for the shipping charge being added again for each new image added to the cart?
As pointed out above - would be more straight forward if only applied once to everything in cart.

Happy to contribute if there is a PayPal fund for this PayPal cart

Thx,
Ewan




ZenPaypal Plugin new version ! - micheall - 2009-12-03

hucste hasn't come forward with anything fixing this yet, and I'm sure he'd be happy to accept donations from the zenPayPal page donate button at the bottom. Might assist with a bit of assistance too in case he's been devoting his time elsewhere.




ZenPaypal Plugin new version ! - hucste - 2009-12-03

@micheall: thanks for your responses.

@all: yes, i've seen your requests, because i've received by rss. But, as said micheall, i developpe this plugin in my personal time and when i'm not tired.
And you can support me by paypal - see my page http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN @ the chapiter "Donate" ;-) - thanks :p