How do I accept payments through Stripe with WP Courseware?

To configure Stripe, you will need to ensure you that you already have a Stripe account. To enable and configure the Stripe payment gateway you will need to perform the following steps:

  1. Click on WP Courseware→Settings
  2. Click the Checkout tab
  3. Click the Payment Gateways sub menu item
  4. Click on Stripe
  1. First tick the Enable Stripe checkbox
  2. The title will display on the checkout page. This is the title of the payment gateway label which helps to identify the payment gateway method, incase you have 2 gateways enabled. It's probably a good idea to label it PayPal. 
  3. The description will show just below the title.

Next you will need to determine if you will be using Stripe in test mode or live mode. To use Stripe test mode, simply tick the box for Test Mode. If you are using Stripe test mode, you don't need to have an SSL certificate on your site. However, once you disable Test Mode, then you will be required to have an SSL certificate to complete transactions on your website.

To find your Publishable & Secret Key:

  1. Login to your Stripe account.
  2. Click on Developers.
  3. Click on API Keys.
  4. Copy your Publishable & Secret Key into the appropriate fields.

To find your Test Publishable & Secret Key

  1. Login to your Stripe account.
  2. Toggle the View Test Data slider on the lower left hand corner.
  3. Click on Developers.
  4. Click on API Keys.
  5. Copy your Test Publishable & Secret Key into the appropriate fields.

The Webhook is required so that your site can receive notifications on charge statuses. To configure your webhook:

  1. Copy the webhook from the Stripe settings page onto your clipboard 

  2. Next login to your Stripe account.

  3. If you are going to be using test mode, be sure to toggle test mode. Otherwise proceed to the next step.

  4. Navigate to Developers→Webhooks.

  5. Click the + Add endpoint button.

  6. Paste the URL in the URL to be called text field.

  7. Click Add endpoint button

Stripe Checkout is basically a popup credit card form opposed to the default on page credit card form. This is optional, but can be configured to be used instead of the default on page credit card form. To enable Stripe Checkout simply tick the Stripe Checkout checkbox. The Checkout Image is a 128px x 128px image that will display on the popup form. The Checkout Description will also display on the popup checkout form.

The final 3 settings for Stripe are as follows:

  1. The inline credit card form displays a single text box where the student can enter the credit card number, expiration and CVC code. If this is not enabled, there would be three separate input boxes.
  2. The statement descriptor will show up on the customers statement. The descriptor can be up to 22 characters long and will display in all CAPS.
  3. If you enable logging, you can log data returned from Stripe. You can view the logs by clicking on WP Courseware→Tools and then clicking the System Log tab.

Still need help? Contact Us Contact Us