CiviContribute: Thank you page does not appear after donation has been submitted.
Overview
When a donation or membership renewal has been submitted, the user is not redirected to a thank you page. The user is redirected back to a blank page.
A receipt is generated and emailed to the user, and their contribution is recorded (if successful), however the user is unaware that their payment has been successful.
Reproduction steps
- Navigate to Contribution page: https://www.example.com/civicrm/?civiwp=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=5
- Enter required information including credit card details via Stripe
- Click Continue
Current behaviour
The user is redirected back to a blank version of https://www.example.com/civicrm/?civiwp=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=5
Expected behaviour
The user should be redirected to a "Thank you" page.
Environment information
- Browser: Chrome Version 100.0.4896.127
- CiviCRM: 5.48.1
- PHP: 7.4.28 (Supports 64bit values)
- CMS: WordPress 5.9.3
- Database: 10.2.43-MariaDB
- Web Server: Apache
Comments
This can be replicated while signed in and while browsing without being signed in. The issue happens both to the test contribution page and the live page.