# |
Aug 7th 2008, 16:13 |
jaredhoyt |
SOAP or NVP etc |
# |
Aug 7th 2008, 16:13 |
beatzombies |
pgcd_away: is there a place to look other than book.cakephp.com? |
# |
Aug 7th 2008, 16:13 |
_psychic_ |
jaredhoyt: what do you mean? |
# |
Aug 7th 2008, 16:13 |
jaredhoyt |
_psychic_: you don't happen to remember what kind of api it was do you? |
# |
Aug 7th 2008, 16:12 |
pgcd_away |
beatzombies: i'm sorry i can't be of much help, but i'm as newbie as they come |
# |
Aug 7th 2008, 16:12 |
pgcd_away |
beatzombies: you might want to check the API, maybe following the code will make it clear |
# |
Aug 7th 2008, 16:11 |
jaredhoyt |
that's good to know, i'll give 'em a call |
# |
Aug 7th 2008, 16:11 |
_psychic_ |
It's cheaper than paypal iirc |
# |
Aug 7th 2008, 16:11 |
jaredhoyt |
) |
# |
Aug 7th 2008, 16:11 |
_psychic_ |
I'm usually not the one paying that :) |
# |
Aug 7th 2008, 16:11 |
_psychic_ |
I don't remember |
# |
Aug 7th 2008, 16:11 |
_psychic_ |
me too |
# |
Aug 7th 2008, 16:11 |
jaredhoyt |
i hate that... when companies won't list prices on their site |
# |
Aug 7th 2008, 16:10 |
jaredhoyt |
and do you remember price ballpark? they make you call for it |
# |
Aug 7th 2008, 16:10 |
beatzombies |
TommyO: i tried looking in the cakephp book for info about the checkbox, but it was not that extensive. Do you know of somewhere else i can look? |
# |
Aug 7th 2008, 16:10 |
jaredhoyt |
_psychic_: just gateway or w/ merchant account |
# |
Aug 7th 2008, 16:10 |
_psychic_ |
jaredhoyt: besides paypal, I've used Authorize.net |
# |
Aug 7th 2008, 16:10 |
beatzombies |
pgcd_away: the first foreach |
# |
Aug 7th 2008, 16:10 |
jaredhoyt |
boss wants to shop around the $30/month 2.2-2.9 cent + .30 per transaction w/ paypal |
# |
Aug 7th 2008, 16:10 |
beatzombies |
pgcd_away: http://bin.cakephp.org/view/1024482603 |
# |
Aug 7th 2008, 16:09 |
jaredhoyt |
anyone have a good recommendation on cheap payment gateway/merchant account combo (doesn't have to be from the same company)? |
# |
Aug 7th 2008, 16:09 |
TommyO |
the API might help |
# |
Aug 7th 2008, 16:09 |
beatzombies |
ill paste what im doing |
# |
Aug 7th 2008, 16:09 |
pgcd_away |
(not to copy and paste, of course)? |
# |
Aug 7th 2008, 16:08 |
pgcd_away |
beatzombies: wait, i must have got it wrong. did you try something like a foreach($item['Item'] as) echo $html->checkbox('ContributorsItem.done')? |
# |
Aug 7th 2008, 16:08 |
beatzombies |
pgcd_away: the following does NOT work: $form->checkbox('contributed', array("value" => 1, "checked"=> $item['ContributorsItem']['contributed'])); |
# |
Aug 7th 2008, 16:06 |
beatzombies |
pgcd_away: yeah, i think it does, got a fatal error. do you know what the array keys should be? |
# |
Aug 7th 2008, 16:04 |
pgcd_away |
possibly the second parameter needs to be an array |
# |
Aug 7th 2008, 16:04 |
beatzombies |
pgcd_away: hmm ok, lemme give that shot |
# |
Aug 7th 2008, 16:04 |
pgcd_away |
beatzombies: i think it should be something like: $form->checkbox('contributed', $item['ContributorsItem']['contributed']) |
# |
Aug 7th 2008, 16:03 |
beatzombies |
pgcd_away: i just tried that and still no luck |
# |
Aug 7th 2008, 16:02 |
beatzombies |
pgcd_away: so i should have something like $form->checkbox($item['ContributorsItem']['contributed']); ? |
# |
Aug 7th 2008, 16:02 |
pgcd_away |
which is not a constructor, right =) |
# |
Aug 7th 2008, 16:02 |
pgcd_away |
$html->checkbox |
# |
Aug 7th 2008, 16:01 |
beatzombies |
pgcd_away: the constructor of what? |
# |
Aug 7th 2008, 16:01 |
pgcd_away |
beatzombies: i haven't been using checkboxes so i'm not sure, but the only way i could have cake populate a list with the values I need was to have a variable hold the values, and pass the variable to the constructor |
# |
Aug 7th 2008, 16:00 |
beatzombies |
pgcd_away: does it need to be available in some other fashion/ |
# |
Aug 7th 2008, 16:00 |
beatzombies |
pgcd_away: executing echo("Checked: ".$item['ContributorsItem']['contributed']); outputs the correct value |
# |
Aug 7th 2008, 15:58 |
mitnavn |
TommyO: I can report that routing users/login is a bad idea :P I hadn't thought about it, but it makes the action for the login form non-functional. |
# |
Aug 7th 2008, 15:58 |
pgcd_away |
beatzombies: is ContributorsItem.contributed actually available in the form? |
# |
Aug 7th 2008, 15:58 |
_psychic_ |
wonder if it has to do with the nested nature of the data you're handing it |