RO Payments

Configure payment provider Stripe

This document explains how to configure payment provider Stripe.

Prerequisites

To configure Stripe the following details are required:

  • Publishable API key
  • Secret API Key
  • Webhook key

Publishable API Key

The Publishable Key is used to verify the authenticity of the messages coming from Stripe

  1. On your Stripe Dashboard click on Developers in the bottom left corner
  2. Click on the tab API keys
  3. If no keys are visible, create a new set of keys
  4. Copy the Publishable key
  5. Paste the Publishable key in the Publishable Key field
  6. Copy the Secret Key
  7. Paste the Secret Key in the Secret Key field

Webhook key

  1. On your Stripe Dashboard click on Developers in the bottom left corner
  2. Click on the tab Webhooks
  3. Click on the button Add endpoint
  4. Set the Endpoint URL to https://YOUR_DOMAIN/notify and replace YOUR_DOMAIN with the domain where the website is
  5. Enter a description if you like
  6. Set Listen to on Events on your account
  7. Set Version to Your current version
  8. Select the following events to listen to:
    1. checkout.session.async_payment_failed
    2. checkout.session.async_payment_succeeded
    3. checkout.session.completed
    4. checkout.session.expired
  9. Click on Add endpoint
  10. In the list of Webhooks, click on the URL of the endpoint just created
  11. Click on the word Reveal in the field Signing secret
    Stripe Webhook Signing Secret
  12. Copy the signing secret
  13. Paste the signing secret in the Webhook key field 

A description is required to be able to make a payment. The description will help customers identify their payment.

Order Numbers

You can choose which number is used as order number, by default RO Payments uses the order number but you can change this to be the order ID. 

 

Related Articles