Tips and Tricks HQ Support Portal › Forums › WP eMember › Complete registration page not showing the customer's email address
- This topic has 4 replies, 2 voices, and was last updated 14 years, 8 months ago by
amin007.
-
AuthorPosts
-
March 23, 2011 at 1:04 am #3016
tcnolan7
MemberHi all,
When I go to the Complete Registration page, it does not show my email address. We are using eJunkie/PayPal and I would think it would bring over the email address for the user from PayPal? It does bring over the First and Last Name. Here’s a screenshot:
https://skitch.com/terrywebdesign/rsdaj/class-registration-danielle-mackinnon
Should the email address be added automatically from the PayPal account?
Thanks,
Terry
March 23, 2011 at 2:10 am #30543amin007
ParticipantYou followed this integration guide for PayPal?
What version of eMember are you using?
March 23, 2011 at 1:37 pm #30544tcnolan7
MemberYes, that’s the integration I followed. The version is v6.1.4. And everything is working fine, except the email address from PayPal is not being stored.
The one thing that is different is that we are using eJunkie.
But eJunkie does say this “Any script that can receive PayPal IPN should be able to receive our order data, as long as it can handle or ignore our extra fields and does not attempt to validate the IPN with PayPal (which would fail since we are not PayPal, and we validate the actual PayPal IPN in the first place before sending order data anyway)”
So I did tweak the code in eMember_handle_paypal_ipn.php to always return true for the function eMember_validate_ipn (I just changed line 281 to return true;).
I checked the debug log and in the Post string, I do see the payer_email.
I can always instruct users to enter their email address to complete the registration but it would be nice to have it come thru.
Thanks for any help on this.
Terry
March 23, 2011 at 2:25 pm #30545tcnolan7
MemberHi,
I think I found the issue. In the file eMember_handle_subsc_ipn_stand_alone.php, in the section create new member account, if you look at the updatedb sql statement (line 81), $email is not in the list of VALUES.
When I added that, the email address from PayPal was added to the member record.
Terry
March 24, 2011 at 12:14 am #30546amin007
ParticipantAdded that in the plugin.
-
AuthorPosts
- You must be logged in to reply to this topic.