Stripe - Setting up Stripe Success, Cancel Payment, Already Subscribed,Customer Portal,Stripe Checkout URL and Embedded Checkout Pages

Once you have installed the Stripe extension on your WordPress website, a notification will appear on the top of your wp-admin page. This notification will indicate which pages need to be created. To create the required pages, simply click on the  "Create Pages" button. Once you have completed this step, the Stripe Pages, including the  Success, Cancel, Already Subscribed,  Stripe Checkout URL and Customer Portal pages will automatically be assigned to the page settings. 

Note: If the 'create pages' button did not automatically generate the pages, you can create them manually. Refer to this article for guidance: How to Create Stripe Pages Manually.

Go to  wp-admin> Pages to check if the pages are successfully created.

When a user attempts to subscribe and is then redirected to the Stripe Checkout page, there are three pages the user will be redirected to:

  • Payment Successful Page - The user will be redirected to this page when the payment is successful, and completed, or the subscription starts trialing. The default content of this page is a shortcode that displays the user's order details. For members who subscribe to a plan via the Register form, you must set the Success page URL in the User Role settings > Register options

  • Payment Canceled Page - The user will be redirected to this page when a user clicks on the logo of your store or the back button on the Stripe Checkout Page.

  • Already Subscribed Page - This page is a landing page when a user tries to subscribe with a direct Subscribe URL but they are already subscribed, so they will be redirected to this page. The default content of this page is a message that the user already has a subscription and a shortcode that displays a customer portal button that links to the Stripe customer portal site

  • Stripe Checkout URL -This page is designated for the checkout URL that is created or generated after you've created or imported pricing information for a specific plan. 

  • Customer Portal - This is a dedicated page that's created specifically for the direct customer portal URL, which appears as "". If a user who is logged in attempts to access the page or its URL without actually accessing the page, they will be automatically redirected to the Stripe customer portal site. For more information, read this article.

To set the Success, Canceled, Already Subscribed, Stripe Checkout URL Pages and Customer Portal, go to WP Admin > Ultimate Member > Settings > General > Pages.

  • Stripe Embedded Checkout (Payment Checkout Page) - By enabling the 'Stripe Embedded Checkout' feature within the Stripe settings, when you click the 'Create pages' button it'll automatically generate the 'Payment Checkout page'. This specialized page is crafted to streamline the transaction process for users, facilitating quick and effortless purchases. Alternatively, if you favor embedding the checkout form directly onto your website, you have the option to enable this setting. Doing so empowers users to finalize their purchases seamlessly without the need to navigate away from your site

NEXT: Create Subscription Prices