Pages (2): 1 2   
Junior Member
Junior Member
Ryan   2007-08-12, 20:59
#1

I'm loving Zenphoto, but I'm just wonder. Is it possible to hook up Paypal with Zenphoto to sell prints for example? Has anyone ever done this?

Cheers.

Member
Member
penzoto   2007-08-13, 14:08
#2

I don't see any major complications that would arise from hard coding a paypal "buy it now" type button.

Member
Member
smsu   2008-03-26, 10:00
#3

Yes, it can be done very easily, just make sure you have this included in the pay pal code

`

Member
Member
Nimbuz   2008-04-01, 06:44
#4

Hi,

I'd put the above form in the "Custom Data" field on the album/image edit page, right?

But that has no effect.

Administrator
Administrator
acrylian   2008-04-01, 09:11
#5

Of course not, the field can't hold and execute php code...it's not meant for that. You need to add it to your theme image.php page.

Member
Member
Nimbuz   2008-04-07, 12:45
#6

I've created a simple Paypal plugin for zenphoto:
http://blog.qelix.com/2008/04/07/paypal-integraion-for-zenphoto-zenpaypal/

Administrator
Administrator
acrylian   2008-04-07, 12:53
#7

Great, but please take a look at the current nightly because we have a real plugin system for custom theme functions now. You might want to modify it to fit into that. It's not really hard to do. That would be great.

Member
Member
Nimbuz   2008-04-07, 13:08
#8

Sure, I'll take a look later tonight.

Member
Member
aitf311   2008-04-07, 14:20
#9

Nimbuz, awesome plugin! This was very much needed.

Member
Member
sbillard   2008-04-14, 18:10
#10

I have made a plugin version. Added some flexibility with the pricelist. I have not checked it beyond making sure the HTML worked. (I don't have a paypal account.)

Too many versions of this thread. Sorry for the multiple postings.

Member
Member
shiatostorm   2008-04-30, 11:36
#11

Hi, I've been trying to get paypal to work in a redesign of my site I'm currently working on (here's the gallery section: http://www.lightoverwater.co.uk/example/gallery/), unfortunately I can't seem to get it to work. I have the latest build of ZP installed.
I select the plugin in the admin area and nothing happens...then I checked out the plugin - as linked to above - inserted the code into the page (and some css) as it says to in the read me but then I get horrible error messages about it being unable to find 'paypal.php'...is there something I'm missing??

Administrator
Administrator
acrylian   2008-04-30, 12:23
#12

Do you really use the nightly build and the there included plugin (it has been reworked for the nightly)? The above download won't work with the nightly.

Member
Member
shiatostorm   2008-04-30, 17:26
#13

yeah I tried both methods...the nightly one first, but didn't add anything to the image.php page as is suggested in the second, is this something that should be done?

Administrator
Administrator
acrylian   2008-04-30, 17:51
#14

Of course you need to add the paypal function to your theme page yourself.

Member
Member
shiatostorm   2008-05-08, 11:44
#15

right...and each time I do I get errors everywhere...

Administrator
Administrator
acrylian   2008-05-08, 11:50
#16
  1. Activate the plugin on the plugins page in the admin.
  2. Look at the options on the options plugin page and fill in your PayPal account number.
  3. Add the function to your theme's image.php

This should work, but I have no PayPal account to say if it really works.

Member
Member
DrSlony   2008-05-20, 00:19
#17

I sell photos on my site, however I also sell digital copies (or actually a license).
My paypal price list in zp admin looks like this:
10x15:Matte=20.00 10x15:Glossy=20.00 40x30:Matte=80.00 40x30:Glossy=80 60x40:Matte=120 60x40:Glossy=120

I would like to be able to sell 3 image sizes of 2 different types - glossy and matte. I would also like an option at the bottom to sell "digital & license".

How and what do I modify to be able to do this?

Member
Member
sbillard   2008-05-20, 01:15
#18

Documentation for zenPaypal is here: http://www.zenphoto.org/documentation-official/zenphoto/_plugins---zenPaypal.php.html

You would have to create the digital & license as elements of your price list.

Member
Member
nizuya   2008-05-30, 01:09
#19

I have the newest version of zen photo, fresh install. I enabled the zenPayPal plug in and added:

To image.php

Then I added:

BuyNow {


background:#f7f7f7;
border:1px solid #ccc;
text-align:center;
padding:10px;
margin:0 0 10px;

}

BuyNow input.buynow_button {


display:block;
clear:both;
text-align:center;
margin:10px auto 0;

}
to styles/light.css

I keep getting errors that the file zenPaypal.php does not exist in the directory.
So I copied the file to the same directory as image.php, then got the error that variables had already been set (or something like that).
Finally, I deleted the zenPaypal.php from the plugins directory and now I just get an empty box...

Can someone help me!? Did I do something wrong?

Member
Member
Vaisak   2008-05-30, 01:36
#20

You don't have to require the zenpaypal file, just use

I was wondering if there's a way to show zenpaypal in certain images, while it remains hidden in the rest of the gallery. I've been trying some things, like getting a customized price list from the custom data field and trying to hide zenpaypal if the field was empty. But my php knowledge is... well, almost nonexistant. Any help would be greatly appreciated, even if it just to tell me there's no way right now

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