• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Replies /

Reply To: dedicated error page?

· ·

Home › Forums › Stripe Payments Plugin › dedicated error page? › Reply To: dedicated error page?

June 6, 2018 at 10:56 pm #1027
alexanderfoxc
Participant

Hi Jorg.

This can be achieved via a little trick. You can rename your page to “Checkout results”. Then, you can construct your own thank you and error messages using this guide https://s-plugins.com/customize-the-thank-page-message-of-stripe-payments-plugin/

So, very basic example. Here’s how the content of your page should look like:

[accept_stripe_payment_checkout]

Thank you for purchasing the following item:

{item_name}

You paid {item_price} {currency_code}

[/accept_stripe_payment_checkout]
[accept_stripe_payment_checkout_error]
There was an error with the credit card transaction. Error details below:
{error_msg}
[/accept_stripe_payment_checkout_error]

If there were no error during the checkout, the content of [accept_stripe_payment_checkout_error] won’t be displayed. And vise versa – if there is an error, only its content will be displayed, but content inside [accept_stripe_payment_checkout] won’t be.

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.