Skip to content

When creating Child Account at checkout, the billing amount shows the level price. #134

@kimwhite

Description

@kimwhite

Describe the bug
When a Sponsor Member creates the child account at checkout, the Members Account page is showing the LEVEL price of the level they are getting (though the invoice says 0).

The billing column of the Payment page should show 0 or Free.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Sponsor Account
  2. In the sponsor code, include 'sponsored_accounts_at_checkout' => true,
  3. Checkout out.
  4. Login in as the newly created child user, and you see a price under billing.

Screenshots
Screenshot 2023-07-13 at 1 31 45 PM

Expected behavior
When a child account is created and paid for by the sponsor, the Billing column should show no price or a message; this is a sponsored account.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
  • This bug happens with a default WordPress theme active or Memberlite.
  • I can reproduce this bug consistently using the steps above.

WordPress Environment

Details ``` WordPress 6.2.2 PMPro 2.11.2 Sponsored Members 0.10.1 ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions