Paypal Integration

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

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 J.

On Dec 22, 12:46 am, Sharanya S. [email protected] wrote:

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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.