Active
Project:
PayPal Buttons for Ubercart
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2011 at 01:48 UTC
Updated:
12 Sep 2011 at 18:16 UTC
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
Comment #1
mrtoner commentedThere 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.