Hi here’s the customization code. Jason helped me to work this up. It collects new members’ name address, city, state, zip info that shows in the members list. The issue is: if an existing user wants to renew, and while checking out he logs in with his user and pass as suggested in the checkout process so as NOT to create a new user, the info doesn’t migrate to fill in the form, but goes on to show the user is logged in. After selecting Pay with PayPal, there’s an error stating address, city, zip is missing.
Would setting up a test user name and pass help you?
`<?php
/*
Plugin Name: PMPro Customizations
Plugin URI: https://www.paidmembershipspro.com/wp/pmpro-customizations/
Description: Customizations for Paid Memberships Pro
Version: .1
Author: Stranger Studios
Author URI: https://www.strangerstudios.com
*/
function my_pmpro_fields()
{
$fields = array();
$fields[] = new PMProRH_Field(“first_name”, “text”, array(“size”=>40, “label”=>”First Name”, “profile”=>true, “required”=>true));
$fields[] = new PMProRH_Field(“last_name”, “text”, array(“size”=>40, “label”=>”Last Name”, “profile”=>true, “required”=>true));
$fields[] = new PMProRH_Field(“pmpro_baddress1”, “text”, array(“size”=>40, “label”=>”Address 1”, “profile”=>true, “required”=>true));
$fields[] = new PMProRH_Field(“pmpro_bcity”, “text”, array(“size”=>40, “label”=>”City”, “profile”=>true, “required”=>true));
$fields[] = new PMProRH_Field(“pmpro_bstate”, “text”, array(“size”=>40, “label”=>”State”, “profile”=>true, “required”=>true));
$fields[] = new PMProRH_Field(“pmpro_bzipcode”, “text”, array(“size”=>40, “label”=>”Zip”, “profile”=>true, “required”=>true));
foreach($fields as $field)
pmprorh_add_registration_field(“checkout_boxes”, $field);
}
add_action(“init”, “my_pmpro_fields”);
?>’