![]() |
|
Google Checkout Integration - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Google Checkout Integration (/thread-2692.html) |
Google Checkout Integration - benjancewicz - 2008-04-17 I've seen a lot of posts on Paypal, but has anyone done Google Checkout integration on ZenPhoto yet? Google Checkout Integration - acrylian - 2008-04-17 Never heard of that. What is that for? Google Checkout Integration - aitf311 - 2008-04-17 I have not seen Google Checkout integration yet, but I'd imagine one could mod the Paypal plugin to get it to also work with Google Checkout. Google Checkout Integration - sbillard - 2008-04-17 All that is needed is to have a definition of the form that is used by the Google Checkout. The Paypal plugin is a good start for modifications, but I would suggest cloning into a Google plugin rather than trying to make one version that does both services. Google Checkout Integration - benjancewicz - 2008-04-17 I found this: http://code.google.com/apis/checkout/ Google Checkout Integration - aitf311 - 2008-04-17 Yea, you found exactly what you will need to make the plugin Google Checkout Integration - sbillard - 2008-04-17 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. Google Checkout Integration - benjancewicz - 2008-05-04 Okey doke, 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 Google Checkout Integration - trisweb - 2008-05-04 You need to delete all the files in your /zp-core/plugins directory and re-install the nightly build... We need to fix this for the next version I think, so it won't be a problem, but for now that should work. Google Checkout Integration - acrylian - 2008-05-04 These files actually should not be in the nightly anymore... Google Checkout Integration - benjancewicz - 2008-05-04 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: Google Checkout Integration - acrylian - 2008-05-04 The Image map is now part of the google maps plugin instead of being within the template-functions. You need to activate that plugin to use this. Anyway it's recommended not just to replace one folder but to update the whole installation. Google Checkout Integration - benjancewicz - 2008-05-04 Sorry, I mis-read trisweb's instructions. Google Checkout Integration - acrylian - 2008-05-05 ImageMap is part of the plugin google maps. You have to activate it on the options plugin tab first to use it. If you don't want to use it delete it from your theme or place Google Checkout Integration - benjancewicz - 2008-05-05 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: Google Checkout Integration - acrylian - 2008-05-06 I have a typo in my code (I thought you know a few things about php...). Before the "{" there needs to be a ")". Google Checkout Integration - benjancewicz - 2008-05-06 ...I know how to make an include, that's about it! I fixed the code so that it reads: `` I still get errors, though... this one in Gallery view: This one in image view: Google Checkout Integration - acrylian - 2008-05-06 The code is still wrong, but my fault again, I forgot another bracket.....:-)) Google Checkout Integration - benjancewicz - 2008-05-07 You sure? I still get these errors:
Google Checkout Integration - acrylian - 2008-05-07 I was just judging from the one line I posted and that itself is (now) correct. I don't know of couse what else code you have in your image.php. Please check if all brackets are closed and if there is not one too much. |