Re: authorize.net redirect

2009-04-11 Thread Sam DeVore

I don't think you will see the data from Authorize in this->data I  
think you will have to look at the raw data.  I can look at it on  
Monday but my wife has named my laptop for Easter weekend.

Sam d

===
Sent from my AT&T Rotary Phone
http://blog.samdevore.com


On Apr 11, 2009, at 10:34 AM, "SergioTorresC."  
 wrote:

>
> Samuel,
>
> Sorry to bother you again. Now I am having problems with authorize.net
> "relay response":
>
> I am using a testing account, so all my transactions go to
> https://test.authorize.net...
>
> I had my form posted to authorize.net
>
> I am shown their hosted payment form.
>
> My payment is processed right (the test credit card gets charged).
>
> But, there is an error when authorize.net tries to send the
> transaction report to my web site.
>
> I am receiving the following error message "An error occurred while
> trying to report this transaction to the merchant."
>
> My x_relay_URL value is 'http://[myserver]/invoicepayments/receipt'
>
> I am sure authorize.net tries to post to my x_relay_URL (I receive an
> error message when the receipt action is not allowed by the auth
> component).
>
> I tried to see authorize.net's answer using:
>
> In the controller receipt action: pr($this->data);
> In the receipt action view:  
> I tried leaving empty the controller action and view and then
> examining firebug/firephp console.
>
> Nothing worked.
>
> Can you help me with this?
>
> Thank you,
>
>
>
> On Mar 13, 1:43 pm, Samuel DeVore  wrote:
>> I had a similar problem and I created a page in between them filling
>> out 'my form' and sending them toAuthorize.net(it is a confirmation
>> looking page and explains why they are going to a new site)  this  
>> page
>> is a form of just hidden fields and a 'Continue' (the submit button)
>> and a 'Cancel' button that takes them back to the previous page.
>>
>> Sam D
>>
>> On Fri, Mar 13, 2009 at 11:34 AM, SergioTorresC.
>>
>>  wrote:
>>
>>> Thank you for your help Samuel,
>>
>>> I am not sure I understand what you say.
>>
>>> Do you mean you pass the client all theauthorize.nethidden fields
>>> and set the form action to be processed byauthorize.netinstead of
>>> your app?
>>
>>> In this case I would have problems with this solution, since I  
>>> need to
>>> do some tasks before callingauthorize.netsecure payment form.
>>
>>> Any ideas?
>>
>>> Thank you again,
>>
>>> On Mar 12, 9:57 am, Samuel DeVore  wrote:
 I have found that I have to make my forms actually point to Auth  
 dot
 net's servers  not make the post request in php.
>>
 Sam D
>>
 On Thu, Mar 12, 2009 at 8:47 AM, SergioTorresC.  
  wrote:
>>
> Hi there,
>>
> I am trying to hook up my cake application  
> withauthorize.netservice,
> to use their secure payment form and Relay Response, but just  
> can't
> get it to work.
>>
> I have a form where my customer reports the payment amount. The  
> form
> is processed in the back end class controller like this:
>>
> 1. I update all needed tables.
> 2. I instantiate cake HttpSocket class into $MyHS.
> 3. I build all required fields forauthorize.netand put them into a
> $post array
> 4. I call $response = $MyHS->post('authorize.neturl', $post)
>>
> According toauthorize.netdocs my customer should be presented  
> their
> secure payment form, but that does not happens. I even can't be  
> sure
> the post was made.
>>
> Can anybody help?
>>
> Thanks in advance,
>>
> Sergio Torres
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Naming a Model "Model"

2008-11-04 Thread Sam DeVore

Bust out the thesaurus it's reserved

===
Sent from my AT&T Rotary Phone
http://blog.samdevore.com


On Nov 4, 2008, at 2:54 PM, Pyrite <[EMAIL PROTECTED]> wrote:

>
> I am developing an application for a business, they have categories,
> products, and models. Is it a problem for CakePHP to name the database
> table "models" and the actual model "Model", or do I need to think of
> a different term?
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: KTML Editor

2008-09-12 Thread Sam DeVore

At least the support is cheap

===
Sent from my AT&T Rotary Phone
http://blog.samdevore.com


On Sep 12, 2008, at 3:31 PM, "Marcin Domanski" <[EMAIL PROTECTED]>  
wrote:

>
> On Fri, Sep 12, 2008 at 11:24 PM, Jon Bennett <[EMAIL PROTECTED]>  
> wrote:
>>
>>> man that darn google always so fast with an answer...
>>
>> Nate missed a crucial part of the request, they asked for the reply  
>> to
>> be sent offlist to just them... :p
>
> yeah you can't get any decent  support here ;)
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: id = 0 or id ='0' not allowed in cakephp?

2008-04-14 Thread Sam DeVore



===
Sent from my AT&T Rotary Phone
http://blog.samdevore.com


On Apr 14, 2008, at 3:01 PM, Defranco <[EMAIL PROTECTED]> wrote:

>
> On 14 abr, 18:48, Stephen Orr <[EMAIL PROTECTED]> wrote:
>> MySQL specifically disallows an ID of 0. I've tested this manually by
>> inserting a test row with an ID of 0 into an auto_incremented column.
>> It ignores it, and gives it an ID of 1 instead.
>
> Ok,
>
> I agree with you regarding numeric PKs.
>
> But what about non numeric primary keys like I told?
>
>> Cake will allow id = '00' and will allow id = '000' but will not  
>> allow update on id = '0'
>
> I know that most people here don't use non numeric keys and may not
> agree with it use, but as I know cakephp supports non numeric primary
> key, but do not support id='0' and MySQL does.
>
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: id = 0 or id ='0' not allowed in cakephp?

2008-04-14 Thread Sam DeVore

My guess is that it is related to the fact that php is loosely typed  
and the ambiguity in something like '0'

===
Sent from my AT&T Rotary Phone
http://blog.samdevore.com


On Apr 14, 2008, at 3:01 PM, Defranco <[EMAIL PROTECTED]> wrote:

>
> On 14 abr, 18:48, Stephen Orr <[EMAIL PROTECTED]> wrote:
>> MySQL specifically disallows an ID of 0. I've tested this manually by
>> inserting a test row with an ID of 0 into an auto_incremented column.
>> It ignores it, and gives it an ID of 1 instead.
>
> Ok,
>
> I agree with you regarding numeric PKs.
>
> But what about non numeric primary keys like I told?
>
>> Cake will allow id = '00' and will allow id = '000' but will not  
>> allow update on id = '0'
>
> I know that most people here don't use non numeric keys and may not
> agree with it use, but as I know cakephp supports non numeric primary
> key, but do not support id='0' and MySQL does.
>
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Class Integration

2008-02-18 Thread Sam DeVore

Look in the manual for "vendors" and "bootstrap.PNP"

===
Http://blog.samdevore.com


On Feb 18, 2008, at 8:53 PM, Salam Fall <[EMAIL PROTECTED]> wrote:

>
> Is there a generic way to load a custom or external class into Cakephp
> and be able to create an object from it and manipulate it with it's
> method.
>
> How would that integration be down, and where will the object be
> available to me as a coder, in the Model/ The view or the Controller,
> I appreciate any help on this because I have many classes I would like
> to use, or if someone could point me to a tutorial that shows this.
>
> Thanks
>
> Salam Fall
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Helper to generate a UID

2008-02-18 Thread Sam DeVore
Php has uniqid
Cake. API look in string class

===
Http://blog.samdevore.com


On Feb 18, 2008, at 2:16 PM, "Novice Programmer" <[EMAIL PROTECTED] 
 > wrote:

> Is there any helper/component in Cake which can help me get a UID  
> based on some algo(such as date time etc)?
>
> -- 
> Thanks & Regards,
> Novice (http://ishuonweb.wordpress.com/).
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: cakephp test suite 1.1

2008-02-17 Thread Sam DeVore

Look in http://cakeforge.org

===
Http://blog.samdevore.com


On Feb 17, 2008, at 8:28 AM, Jay <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> Can any body provide me cakephp 1.1 with integrated test suite 1.1.
>
> Your help will highly appreciated.
>
> Thank you.
>
> Regards,
> Jahangir
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Flash message is not showing

2007-11-01 Thread Sam DeVore

May be show some code or ask an answerable question

===
Http://blog.samdevore.com


On Nov 1, 2007, at 7:48 PM, williamn <[EMAIL PROTECTED]> wrote:

>
> Hi all,
>
> Can somebody tell me what to do, if flash message is not showing?
>
> Thank you.
> --William
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---