This module streamlines the checkoutprocess so much! One thing we lose though is building a user profile from the order. Would like to capture first name, last name and ideally other paypal info (like phone.)

BTW - I would have the user go directly to the profile and create it themselves, but the problem is the lag between a user payment and papal IPN post to the site - they have to wait a minute before the account is created :(.

The overall goal is to immediately, post-checkout to enable a user account and capture profile information.

Thanks

Comments

mrtoner’s picture

Component: Documentation » Code

There are two ways that the information you want is returned from PayPal. Neither one is "post-checkout" as Ubercart defines it by default -- the Post Checkout state occurs before payment or any data is received from PayPal.

The first is via IPN, and this is the only way that Ubercart (or PayPal Buttons) will know about the data.

The second is by GET or POST variables sent to the success URL. It's up to you to make use of that information at that point.

Ubercart appears (please school me if I'm wrong) to create users after the order is complete. Since a sale is not complete until a payment is received (and an IPN is received), you'll need to wait until then to update the profile. You should be able to do that with a Rule/Conditional Action.