When WP Simple Pay Pro is installed and activated, two pages will be generated: a Payment Success Page and a Payment Failure Page.
NOTE: For Stripe Checkout pages, there is also a Payment Canceled Page to be used when a customer fails to complete a checkout session, or otherwise navigates away from a Stripe Checkout page
By default, after payments made through WP Simple Pay Pro succeed (or fail), the payer will be redirected to the appropriate page. This defaults to the Payment Failure Page.
These pages can be edited like any other WordPress page, but you can also select existing pages for either option in your WordPress admin under WP Simple Pay → Settings → Payment Confirmation → Pages.
You can also change the payment success page at the form settings level. Visit the WP Simple Pay → Payment Forms → (Your Form) → General tab.
There are 3 options to choose from here:
- Global Setting will redirect to the the setting you have saved in the main settings.
- Specific Page will give you a dropdown to select the specific page on your site you want to redirect to after completion.
- Redirect URL will allow you to type in a custom URL into a text field to use as the redirect.
Make sure the
[simpay_payment_receipt] shortcode resides on the Payment Success Page. To customize this shortcode output further, see how to configure the payment confirmation display.
Also, make sure the payment confirmation page is excluded from any site caching enabled by your web host.
[simpay_error] shortcode is added to the Payment Failure Page by default when WP Simple Pay is installed. This is optional and only displays error information if you’re logged in as an administrator.