When using a Contribution Page with a Membership Price Set, the contribution amount information never shows on the thank you page
Overview
If you configure a Contribution Page for Membership sign up/Renewal and select a "Membership Price Set" on the Membership tab of the contribution settings.
Then the payment amount does not show on the thank you page when someone signs up using the form.
Reproduction steps
- Login as an admin and go to CiviCRM Admin Menu -> Contributions -> New Contribution Page
- Configure a Contribution Page, ensure that you select "Membership Section Enabled?" and a price set for "Membership Price Set" on the Membership tab.
- Use the form you just created to create a membership
Current behaviour
Thank you page does not tell you how much you spent
Expected behaviour
Thank you page should tell you how much you spent.
Environment information
I was able to replicate this on 5.64.2 and https://bmaster.demo.civicrm.org