Help Open dashboard

Payments

Take payments

Connect Stripe so people can pay for your packages or subscribe from your pricing section, then see every payment in one list.

Which plans include thisEvery planPayments
Open this in the dashboard

Unvop takes payments through Stripe Checkout. You create your products and prices in Stripe, link them to the plans on your pricing section, and visitors pay with a "pay now" button. Each payment is linked to the person in Contacts, and paying customers become clients automatically.

You need a Stripe account. Setting it up takes about fifteen minutes.

The Payments screen
The Payments screen

Set up Stripe

  1. In Stripe, create your products and prices (under Product catalogue). Each price has an ID starting with price_.
  2. In Unvop, open Payments in the sidebar and press Set up Stripe. You can also open Settings, then Integrations, then Stripe payments.
  3. Turn on the switch at the top.
  4. In Stripe, open Developers, then API keys. Copy the secret key (it starts with sk_live_ or sk_test_) and paste it into Secret key. Paste the publishable key into Publishable key too.
  5. Add your plans (see below).
  6. Press Save.

Connect the webhook

Stripe tells Unvop when a payment goes through, a subscription changes or a payment fails. Without this, payments won't show in Unvop.

  1. In Stripe, open Developers, then Webhooks, and add an endpoint.
  2. For the address, use your site's address followed by /api/p/stripe/webhook, like https://www.yourbusiness.com/api/p/stripe/webhook.
  3. Choose these events: checkout.session.completed, customer.subscription.updated, customer.subscription.deleted, invoice.payment_failed and charge.refunded (so refunds show on the payment and the contact).
  4. Copy the endpoint's signing secret (it starts with whsec_) and paste it into Webhook signing secret in Unvop.
  5. Press Save.

Add a plan for each price

A plan links a button on your site to a Stripe price.

  1. On the Stripe payments page, under Plans, press Add plan.
  2. Fill in:
    • Handle: a short name like starter.
    • Name: what people see, like "Starter".
    • Stripe price ID: the price_ ID from Stripe.
    • Amount (cents) and Currency: for display only, like 99900 and nzd for $999.
    • Billing: Monthly, Yearly or One-off.
  3. Optionally, set After payment, send people to (like /welcome) and If they cancel, send them back to (like /#pricing).
  4. Press Save.

Then press Run test under Test the connection to check your keys work.

Add a pay button to your pricing section

  1. Open the page with your pricing section in the editor.
  2. Select the Pricing section and open a plan.
  3. Under Take payment with Stripe, pick the Stripe plan.
  4. Publish the page.

That plan now shows a pay button that opens Stripe Checkout. Leave Take payment with Stripe empty to use the link in Or link the button to instead. See Edit text and images.

See your payments

Open Payments in the sidebar. The header shows how much you've collected across your successful payments. The list shows, for each payment:

  • Customer: their email. Press it to open the contact.
  • Plan: which plan they bought, tagged Monthly for subscriptions.
  • Amount, Status and Date.

Statuses are Paid, Active (a running subscription), Pending, Failed, Refunded and Canceled.