User Pages

Some additional pages need to be created to complete the Stripe set-up.

Set up 5 pages, with each using one of the following page templates:

  • User Subscription
  • User Donations
  • User Register
  • User Login
  • Stripe WebHook
stripe-pages
All of the pages created for the Stripe integration.

Go to Appearance → Theme Options → User Pages and set the pages appropriately, like in the following image. Save your changes.

stripe-destination-pages
Set up of Stripe pages on the User Pages page.

Stripe Webhooks

The Stripe webhook page is where events relating to your Stripe payments will be sent – the page template will log these, and deal with them appropriately, for example, by saving the donation as a Pledge.

Copy the link to the page using the page template Stripe WebHook. Log into your Stripe account and go to Webhooks from the left sidebar. At the top of the page, select the Settings tab, and click Add endpoint…

Stripe’s dashboard, with the Webhooks Settings page selected.

In this pop-up, paste in the URL, set the Mode to Live and select Send me all events. To save your changes, click Create endpoint.

The pop-up displayed after clicking Add webhook…

The webhook page must be accessible from the internet, so if you are testing the theme on your computer, Stripe payments will not complete.

If you want to customize the content of the emails sent to customers after completing Stripe transactions, head to the Email Templates chapter of the documentation.

WPlook Themes

Can't find what you're looking for?