When using form checkout redirection, you can create a customized confirmation page that displays payment details, transaction information, and customer data after successful payment processing.
Default Behavior (Only success message)
By default, if no Success URL is configured, the stripe-hosted checkout page redirects back to the current form page and displays a basic success message confirming that:
The email was sent successfully
The payment was processed
Redirect to a Custom Confirmation Page
1. Create Your Confirmation Page
Create a new page where you want to display the detailed payment confirmation.
2. Add the Receipt Shortcode
Insert the following shortcode into your page:
[cf7pa-receipt]
3. Design Your Confirmation Layout
You can customize your confirmation page by incorporating various supported tags to display transaction details such as by using the below-supported merge fields:
In your checkout form settings, specify the URL of your new confirmation page as the Success URL. This ensures customers are redirected to your custom confirmation page after successful payment.
Testing
After the above settings, make a form checkout redirection submitting and see if the redirection is back on the confirmation page, if everything works, the confirmation page will be like bthe elow:
Notes
All shortcode tags must be placed within a page containing the [cf7pa-receipt] shortcode to function properly
You can style the confirmation page using your theme's CSS or custom styles
Test the confirmation page thoroughly to ensure all dynamic content displays correctly