details_response.params[''first_name''] etc will get what
you''re looking
for.
Assuming, of course, that you''re using ActiveMerchant - which is
strongly suggested based on the code, but probably should have been
specified in the question.
--Matt Jones
On Dec 22, 12:46 am, Sharanya Suresh
<li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:> If we link paypal express gateway in our ror code, we can get address
> details as
>
> @address = details_response.address
>
> @name = @address[''name'']
>
> From that we can get the name of the user
>
> Is it possible to get first name and last name components separately
> from paypal ?
>
> Please help
>
> Thankx in advance,
>
> Sharanya
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.