I've seen a lot of posts on Paypal, but has anyone done Google Checkout integration on ZenPhoto yet?
I found this: http://code.google.com/apis/checkout/
Does that help?
Do you have a Google Merchant ID? It looks pretty simple to make this implementation, but I have no way to test it.
I have placed an experimental Googal Checkout plugin in the nightly build. I have not tested it as I do not have a merchant ID. Please give it a try and provide feedback.
Okey doke,
I've been trying to get the plugin to work, but the plugins page gives me these errors (and won't let me activate the plugin).
Warning: exif_read_data() [function.exif-read-data]: Unable to open file in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/exifimagerotate.php on line 2
Warning: imagecreatefromjpeg(SRC_IMAGE) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 8
Warning: imagesx(): supplied argument is not a valid Image resource in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 9
Warning: imagesy(): supplied argument is not a valid Image resource in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 10
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 11
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 23
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 25
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_mirror.php on line 26
Fatal error: Cannot redeclare imagerotate() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/plugins/image_rotate.php on line 45
Alright. I replaced the /zp-core/plugins directory with the one from the May 3rd nightly build, and that took away the errors in the plugins admin page.
Now, however, I get two errors when looking at an image:
This one shows up at the top, above the breadcrumb.
Warning: Invalid argument supplied for foreach() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/template-functions.php on line 177
This one is at the bottom, where the comment field used to be (it disappeared).
Fatal error: Call to undefined function printImageMap() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/themes/default/image.php on line 62
You can see this in action here:
http://zerflin.com/ZenPhoto/index.php?album=artwork/Vector%20People&image=Tamikas%20Mural%20outlines.jpg
Sorry, I mis-read trisweb's instructions.
Ok. I've reinstalled everything except the Themes folder, and the errors persist.
Do I need to customize my theme from scratch? Are there new things in the theme that are causing the error?
I do have the Google Maps plugin enabled.
I inserted what you gave me in the image.php file of the theme, so that it looks like this:
...I know how to make an include, that's about it!
I can design circles around anyone, but I'm a novice when it comes to code. Trying to figure out ZenPhoto is probably the most indepth "training" I've ever had.
I fixed the code so that it reads: ``
I still get errors, though... this one in Gallery view: Warning: Invalid argument supplied for foreach() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/template-functions.php on line 177
This one in image view: Parse error: syntax error, unexpected $end in /home/content/b/j/a/bjancewicz/html/ZenPhoto/themes/default/image.php on line 118
You sure?
I still get these errors:
Parse error: syntax error, unexpected '}' in /home/content/b/j/a/bjancewicz/html/ZenPhoto/themes/default/image.php on line 62
Warning: Invalid argument supplied for foreach() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/template-functions.php on line 177