Pages (5): 1 2 3 4 5   
Member
Member
hucste   06-11-2009, 21:55
#1

i've writing a new version of zenpaypal plugin.

  • add new options default to setting html background of paypal page web, to test it with sandbox paypal, and others options to using with paypal cart.
  • modify php code

it's run as cart (panel) ... also, it's possible to adding few objects in the cart before billing.

To install it, please read the install.txt in the archive zip

The archive is downloadable here : http://dev.stephane-huc.net/share/zenphoto/zenpaypal.zip

Member
Member
micheall   07-11-2009, 00:18
#2

Excellent adjustments to the plugin, I noticed however that there's still an extra at the end of the pricelist function. Also, the buynow button is hardcoded to the french button.. perhaps that could be set to use the proper locale setting?

Member
Member
nateomedia   07-11-2009, 00:43
#3

The cart sounds very intriguing. I was thinking of trying to build something like that myself. I look forward to playing with your plugin. Thanks!

Member
Member
micheall   07-11-2009, 00:53
#4

Another minor bug, the price list div is showing the last item in the pricelist as the link, instead of saying "price list".

Member
Member
hucste   07-11-2009, 03:17
#5

I've modified :

  • implement all currencies supported by Paypal
  • function zenPaypalToJS : delete variables in appel
  • function zenPaypal :
    -> inverse order of variable $pricelistlink and $pricelist in appel
    -> 'localize' url for buttons ;-)
    -> a lot of bits to modified. @micheall : ty.

New archive : http://dev.stephane-huc.net/share/zenphoto/zenpaypal.zip

Member
Member
micheall   07-11-2009, 03:34
#6

Thanks for the quick work on those hucste, only thing I can see now is that the pricelist doesn't appear at all. I've tried toggling the pricelist to true in the zenpaypal.php to no effect. Perhaps I'm missing something. I don't see any options in admin to display it or not, so not sure where it's going wrong. I'll check the cgi error log and let you know if it displays any errors.

Edit: not seeing any errors in the cgi log, so not sure...

Administrator
Administrator
acrylian   07-11-2009, 10:11
#7

@hucste: Thanks for taking over that one, the eZenphoto solution the original developer moved to is a little to big for many and also sadly technically speaking not optimal (it's a hack of Zenphoto 1.2.4 and not even a plugin...).

It would be great if you could make a small project page for that plugin with changelog and download that we can link to from our plugins section. Thanks!

Member
Member
hucste   07-11-2009, 13:03
#8

@micheall : how have you writing zenPaypal on your script image ?

now is zenPaypal(true) to activate pricelist in code html !

@acrylian : oki ... in few hours :p

Member
Member
micheall   07-11-2009, 15:32
#9

is my current call to it.

Edit:
Ahh, I see you changed the structure so all it needs is zenpaypal(true). Do the rest of the variables that were there not get parsed now and need to be changed in the hardcode itself?

Member
Member
hucste   07-11-2009, 16:34
#10

@micheall : please, quite a few moments ... i'm implement this in section administration ;-)

Member
Member
hucste   07-11-2009, 17:56
#11

@acrylian: project page : http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN !

@micheall: dl the archive ;-)

Administrator
Administrator
acrylian   07-11-2009, 18:18
#12

Thanks, I will update the entry on our plugins page.

Update done and you made it to our news section as well..;-)

Member
Member
nateomedia   07-11-2009, 21:00
#13

I dropped the folder into plugins, but it's not showing up under administration > plugins so I can activate it. Am I missing something? This is in 1.2.6.

By the way, the instructions refer to"plugins" as "extensions". Should be updated.

Administrator
Administrator
acrylian   07-11-2009, 21:43
#14

Plugins are extensions and in the coming 1.2.6 the standard plugins reside in zp-core/zp-extensions...;-)

Member
Member
hucste   07-11-2009, 23:40
#15

plugins in zp-extensions: is for 1.2.7, no ?!

http://www.zenphoto.org/2008/06/zenphoto-plugins/

Quote:Optional plugins need to be placed within the zp-core/plugins folder.

Note: In the coming 1.2.7 release they will need to be place within the plugins folder within the root of your Zenphoto installation. Included standard plugins are located in zp-core/zp-extensions.

Member
Member
kagutsuchi   07-11-2009, 23:52
#16

The text means that, in 1.2.7, the plugins distributed with zenphoto should be in zp-core/zp-extensions. Any other plugins (third-party or otherwise) should be placed in the plugins directory in the root of the zenphoto installation.

Member
Member
micheall   08-11-2009, 00:56
#17

Just a note on that, I placed it in root/plugins folder from the get-go and it's worked flawlessly. And everything looks good hucste. I'll poke around a bit more to see if I can find anything else broken but otherwise I think you've covered everything that everyone could need with it.

Edit: One thing that might be worth adding as an option is to include the Album name for paypal as well. I know my images are normally the camera-named images and seeing Image: DSCN123124.jpg and having to sort through might be a pain.

Something like:

$zenPaypalHTML .= "\t"."\t"."\t".'form_paypal.item_name.value = "'.gettext('Album: ').getBareAlbumTitle().gettext(' - Photo: ').getImageTitle().gettext(' - Size: ').$itemparts0.gettext(' - Media: ').$itemparts1.'";'."\n";

Member
Member
hucste   08-11-2009, 18:34
#18

@micheall: ty. good idea for the album. Now this is modifiable in section "Administration" ;-)

New archive :

Member
Member
Laurent   11-11-2009, 17:28
#19

Aie, it's a fantastic plugins. It's work fine for me.

I have a question, is there a way to disable this plugin for some pictures ?

Laurent

Member
Member
hucste   11-11-2009, 19:45
#20

@laurent: ty. and no; because i don't any idea how to do this!

Pages (5): 1 2 3 4 5   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.