Pages (3):    1 2 3   
Member
Member
benjancewicz   2008-05-07, 17:58
#21

Alright. I checked it, found the bracket and fixed it.

What should I look for for this other error? Warning: Invalid argument supplied for foreach() in /home/content/b/j/a/bjancewicz/html/ZenPhoto/zp-core/template-functions.php on line 177

And where is the Google Checkout option actually supposed to show up? I don't see it.

Administrator
Administrator
acrylian   2008-05-07, 18:31
#22

There must be something else wrong in your theme. Probably another bracket.

You have to add the google checkup function to your theme manually as with all additional functions. Of course It won't show up automatically. Please see the documentation (the svn one) for info.

Member
Member
benjancewicz   2008-05-07, 23:26
#23

Any idea where I could start to look? I'm pretty lost...

Member
Member
benjancewicz   2008-05-07, 23:32
#24

And where do I find svn documentation (not sure what that is)...

Administrator
Administrator
acrylian   2008-05-08, 08:18
#25

You can't really overlook it here..:-): http://www.zenphoto.org/category/User-Guide/

Here the direct link to the google checkup doc: http://www.zenphoto.org/documentation/zenphoto/_plugins---GoogleCheckout.php.html

To your error problem: How should I know? You could post the code of that page, then I could take a look.

Member
Member
benjancewicz   2008-05-11, 21:29
#26

Ok. I'll create another post for the error.

Back to installing the Google Checkout, though... I found the doc you're referring to; but I don't understand how to install the code on my page. The document makes no sense to me.

I tried to read this too for help, (http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/) but I don't know what to include from the void line of code.

Is there anyone that has this on their gallery already that I could copy the code from, or can you help me understand the document?

Administrator
Administrator
acrylian   2008-05-12, 07:18
#27

It's like with nearly all functions, just place ``to print the button. Of course you need to fill in your google checkout data in the plugin options, too.

Member
Member
benjancewicz   2008-05-29, 20:22
#28

Alrighty.
I've got it installed. I have a Google Merchant account, and have put in all my information correctly.

It doesn't seem to be working, though; when I try to hit the Checkout button on an image, an error comes up from Google.

http://zerflin.com/ZenPhoto/index.php?album=artwork%2FVector+Things&image=A+CHILD+OF+5.jpg

What can I check?

Member
Member
sbillard   2008-05-29, 21:32
#29

We need somehow to find out what Google does not like in the posting. I don't have a Google Merchant Account and don't know what kind of debugging aids they have. (That is why this plugin is marked experimental--I could not check it out, only provided what I thought Google wanted in the form.)

Do you have other WEB applications that use Google Checkout? We might be able to tell something by looking at them.

Member
Member
Mammlouk   2008-06-06, 18:21
#30

sbillard - I was setting up a gallery for a friend whose wife is a photographer and they really wanted this feature, so I have built a working plugin. Please let me know where/how/when to post it so that you can take a look at it. I used the new Google checkout shopping carts script/API, so it tracks all items added to the cart and allows you to view the cart from a dropdown javascript element over the site. I thinks it's a great solution and am really excited to help out by sharing back the work I've done.

Thanks,
-Jeremy

Member
Member
sbillard   2008-06-06, 22:30
#31

Mammlouk: Please create a TRAC ticket and attach the plugin. I did find some problems with the released version which are now fixed in tonight's nightly build.

Member
Member
Mammlouk   2008-06-07, 03:52
#32

O.k. I will post it as soon as I have time to create the ticket. Probably later tonight.

Member
Member
Mammlouk   2008-06-07, 04:38
#33

Done. Ticket Number 563. http://www.zenphoto.org/trac/ticket/563

Member
Member
Mammlouk   2008-06-10, 17:56
#34

Just wanted to update everyone and let you know that the initial changes were released here:

http://www.zenphoto.org/trac/changeset/1687

I think that means you should see them in the nightly..? I also just added some changes that allow the Cart Widget to be placed either in the top left corner or inline in your theme. You can follow changes on Trac here:

http://www.zenphoto.org/trac/ticket/563

To set the location of the widget to the top left go into plugin options and set the Cart Location to "TopLeft" without quotes. To drop the widget into your theme instead of snapped to the browser use the new function printGoogleCartWidget() wherever you'd like it to show up. In order for the new widget options to work you will need to download the new CSS files along with the updated GoogleCheckout.php

Also you can see the changes in action at my test gallery. http://www.jeremydcoleman.com/zentest

Don't go all the way through the checkout unless you want to accidentally make a donation

Member
Member
sbillard   2008-06-10, 18:49
#35

I've updated this slightly. The location is now a drop-down selection box with the allowed choices.

As Mammlouk surmized, this will all be in the 6/10 nightly build available tomorrow.

Member
Member
Mammlouk   2008-06-10, 19:47
#36

Excellent. I was hoping to do a dropdown, but since I haven't worked with the ZenPhoto plugin system much and I was just going for functionality I hadn't made it that far.

Member
Member
aitf311   2008-06-10, 23:51
#37

Mammlouk very nice work on this, very zen!

Member
Member
Mammlouk   2008-06-11, 14:48
#38

Thanks aitf311, glad you like it. Please post here or on my personal site http://www.jeremydcoleman.com if you have any issues or suggestions.

Member
Member
benjancewicz   2008-06-13, 13:07
#39

It's working!
I talked to Mammlouk, and the problem was that you have to have Google Merchant accept unsigned carts. Now it works like a charm.

Member
Member
benjancewicz   2008-06-13, 20:21
#40

In addition, there is a panel (which I hadn't seen before) on Google Merchant under "Tools" called "Integration Console" which shows any errors.

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