Forum Replies Created
-
AuthorPosts
-
July 8, 2012 at 4:03 pm in reply to: eStore – purchases don't link up when a buyer registers? #46413oliverMember
Ok and now ive added to paypal.php line 654 the following. Now all un-logged in people with member accounts will have their purchases added to their account.
//Oliver added in order for member_id to be added to donation
if(!$eMember_id || $eMember_id==""){
$query_hldb = $wpdb->get_row("SELECT
member_id
FROMwp_wp_eMember_members_tbl
WHEREemail
= ‘$emailaddress'”, OBJECT);$eMember_id = $query_hldb->member_id;
}
//Oliver end
July 8, 2012 at 3:23 pm in reply to: eStore – purchases don't link up when a buyer registers? #46412oliverMemberOk, so I added the following to eStore_handle_subsc_ipn.php line 137. Unfortunately this will only change past donations, not the one which is being processed. So will now look to find that.
//Oliver added in order for member_id to be added to donation
$updatehldb = "UPDATE wp_wp_eStore_customer_tbl SET member_username='".$eMember_id."' WHERE member_username='' AND email_address = '".$email."' ";
$results = $wpdb->query($updatehldb);
debug_log_subsc("Also looked for and changed customers with the email ".$email." but without Member ID: ".$eMember_id,true);
//Oliver end
June 26, 2012 at 9:18 pm in reply to: eStore – purchases don't link up when a buyer registers? #46410oliverMemberI’ve tried turning on the ‘only logged in members…’ But when i press the same ‘subscribe’ button on the frontend, it still takes me through to Paypal without joining.
Do I need to change the subscribe button?
Thanks,
-
AuthorPosts