• Resolved jurisss

    (@juriss)


    Some user fields are not displayed –
    1) Billing Phone – not displayed on Recurring Orders.
    2) Custom created User Fields (Extra fields) – not displayed on user Email Template – Checkout Payd (is only in the Admin Email).

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to Paid Memberships Pro.

    1. Please send me a screenshot of the User Field settings of the affected fields so that I can take a further look into this for you.
    2. Please confirm which payment gateway is used and if you have any custom templates in place?
    Thread Starter jurisss

    (@juriss)

    All settings are exactly as in this instruction –
    User Fields With Paid Memberships Pro
    I use the Stripe gateway, no custom templates.

    Plugin Support Jarryd Long

    (@jarryd-long)

    Please send me Site Health Information so that we can have a better understanding of your setup?

    Your Site Health contains details about your WordPress and PMPro setup which can help us quickly pinpoint possible conflicts or problems that could cause the issue you’re currently experiencing.

    Please follow the steps below to retrieve your Site Health Info in the WordPress admin and reply back to us when the details have been added:

    1. Navigate to Tools > Site Health in the WordPress admin.
    2. Click on the “Info” tab.
    3. Click the button to “Copy site info to clipboard”.

    The entire output of your Site Health is now copied to your clipboard.

    You can then paste this into a reply here.

    Thread Starter jurisss

    (@juriss)

    Can I send it by email?

    Thread Starter jurisss

    (@juriss)

    pmpro
    
    pmpro-cron-jobs: pmpro_cron_expire_memberships (2024-01-24 09:53:57) |
    pmpro_cron_stripe_subscription_updates (2024-01-24 09:53:57) |
    pmpro_cron_expiration_warnings (2024-01-24 09:53:58) |
    pmpro_cron_admin_activity_email (2024-01-25 08:30:00) |
    pmpro_cron_delete_tmp (2024-01-25 08:30:00) |
    pmpro_cron_credit_card_expiring_warnings (2024-02-11 21:53:57) |
    pmpro_license_check_key (2024-02-11 21:53:57)
    pmpro-gateway: Stripe (Stripe Connect) [stripe:stripe-connect]
    pmpro-gateway-env: Sandbox/Testing [sandbox]
    pmpro-orders: 135 orders
    pmpro-discount-codes: 0 discount codes
    pmpro-sessions:
    session_status: Active
    pmpro-membership-levels: {
    "1": {
    "id": "1",
    "name": "First",
    "description": "",
    "confirmation": "",
    "initial_payment": 0,
    "billing_amount": 0,
    "cycle_number": "0",
    "cycle_period": "",
    "billing_limit": "0",
    "trial_amount": 0,
    "trial_limit": "0",
    "allow_signups": "0",
    "expiration_number": "0",
    "expiration_period": ""
    },
    "2": {
    "id": "2",
    "name": "Premium",
    "description": "",
    "confirmation": "",
    "initial_payment": 9.99,
    "billing_amount": 9.99,
    "cycle_number": "1",
    "cycle_period": "Day",
    "billing_limit": "0",
    "trial_amount": 0,
    "trial_limit": "0",
    "allow_signups": "1",
    "expiration_number": "0",
    "expiration_period": "0"
    }
    }
    pmpro-custom-templates: No template overrides
    pmpro-getfile-usage: PMPRO_GETFILE_ENABLED is not set
    pmpro-htaccess-cache-usage: On
    pmpro-pages:
    account: https://mysupersite123.com/member-account/
    billing: https://mysupersite123.com/member-account/billing-information/
    cancel: https://mysupersite123.com/member-account/cancel/
    checkout: https://mysupersite123.com/member-account/checkout/
    confirmation: https://mysupersite123.com/member-account/confirmation/
    invoice: https://mysupersite123.com/member-account/invoice/
    levels: https://mysupersite123.com/member-account/levels/
    login: Not Set
    member_profile_edit: https://mysupersite123.com/member-account/your-profile/
    pmpro-library-conflicts: No library conflicts detected.
    pmpro-outdated-templates: No outdated templates detected.
    pmpro-current-site-url: https://mysupersite123.com
    pmpro-recorded-site-url: https://mysupersite123.com
    pmpro-pause-mode: Disabled
    Plugin Support Jarryd Long

    (@jarryd-long)

    Those fields are intentionally only sent in the admin notification.

    The code that does this can be found here https://github.com/strangerstudios/paid-memberships-pro/blob/dev/includes/fields.php#L1035-L1107

    You can copy this into a PMPro Customizations or Code Snippet plugin, rename the function and change the if statement from

    if ( ! empty( $email ) && strpos( $email->template, "checkout" ) !== false && strpos( $email->template, "admin" ) !== false ) {

    to

    if ( ! empty( $email ) && strpos( $email->template, "checkout" ) !== false ) {

    and that will include them in all checkout emails.

    You then need to remove the initial hook otherwise it will duplicate – a guide on how to do this can be found at https://www.paidmembershipspro.com/admin-checkout-email-meta-fields/

    If you require further assistance with implementing these changes though, we recommend posting a project on https://jobs.wordpress.net for someone that can assist with a more hands-on approach.

    • This reply was modified 1 year, 1 month ago by Jarryd Long. Reason: Added in additional documentation
    Thread Starter jurisss

    (@juriss)

    Thank you!
    What about a phone number that doesn’t appear in Recuring transactions?

    Plugin Support Jarryd Long

    (@jarryd-long)

    Please confirm if the phone field you are using has a name of pmpro_bphone? This is a standard billing field name that would need to be set in order for it to show in an order and any orders thereafter.

    Plugin Support Jarryd Long

    (@jarryd-long)

    Because there have not been any recent updates to this topic, we will be changing the status to resolved.

    If you’re enjoying Paid Memberships Pro, would you mind rating it 5-stars to help spread the word? https://www.ads-software.com/support/plugin/paid-memberships-pro/reviews/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘User Fields’ is closed to new replies.