Related documentation
Setting up Stripe to work with Roe
Stripe has a Sandboxes which allows you to test everything before you make things public. For this reason there are 2 modes in Roe: Test and Live. Here is an article about Sandboxes on Stripe
Stripe has an excellent onboarding that helps you set up what you need to accept payments. This article assumes you’ve created and account and gone through basic Stripe setup.
Getting started wtih Stripe
Before Stripe
You’ll need to enable the Members feature, go to: Admin → Settings and click ENABLE MEMBERS. You will then set up Members and there you can enable Payments which turns on Stripe in Roe.
1. Get Your Stripe API Keys
- Go to Stripe.com and sign into your account, this will bring you to your Dashboard.
- On the very bottom left, you’ll see
Developers. Click that, followed byAPI Keys. - From Standard keys: Copy your Publishable Key and Secret Key.
- If you’re in Sandbox/Test mode, the keys will start with:
pk_test_andsk_test_ - If you’re in Live mode, the keys start with:
pk_live_andsk_live_
- If you’re in Sandbox/Test mode, the keys will start with:
- Optional but recommended - Limit an API key to certain IP addresses - Especially for live keys.
2. Add Keys to Roe
- Go to Admin → Payments
- Choose your mode: Test/Live
- Paste your Publishable Key
- Paste your Secret Key
- Click
SAVE (TEST/LIVE) KEYS
If successful, you’ll see: Connected Mode: Test/Live near the top of the page. You can now start accepting real or test payments.
3. Set Up Webhooks
Webhooks allow Stripe to tell Roe when a payment is successful, fails, or a refund is requested/processed.
On Stripe.com
In your Stripe dashboard, go to Developers (bottom left of window) → Webhooks:
- Click
Add destination - Select:
Your accountfor Event destination scope - Search for and check these 4 events:
checkout.session.completed,charge.refunded,charge.dispute.created,charge.dispute.closed - Click
Continue →and choose:Webhook endpoint - You’ll need the Enpoint URL from Roe ↓
Open Roe Admin → Settings → Payments in a new tab:
- Copy your Webhook Endpoint URL for Test or Live (whichever you’re setting up)
- Go back to Stripe, and paste the Endpoint URL
https://yoursite.com/webhooks/stripe - Click
Create destination - Once you create the destination, click the closed eye icon, and copy the Signing secret from Stripe:
whsec_… - Go back to Roe: Admin → Settings → Payments and paste the Signing secret in Roe:
Webhook Signing Secret. - Click
SAVE TEST/LIVE KEYS
If all seems well, the indicator at the top of the page will be green and say Connected.