Configure Stripe Payments

In this article

Stripe lets customers pay online through the YoPrint Customer Portal. Connect your Stripe account to accept credit card payments on quotes and invoices.

Create Stripe keys

You need a Publishable key and either a Restricted key or a standard Secret key from the same Stripe account. A restricted key gives YoPrint only the permissions it needs, and Stripe recommends it. Keep restricted and secret keys secure and never share them publicly.

You need administrator access in Stripe to see your account's keys. Open API keys in your Stripe Dashboard. Under Standard keys, find the Publishable key. You copy it into YoPrint when you connect.

To create a restricted key, choose Create restricted key and name it for YoPrint. If Stripe offers preset permissions, choose to set them yourself. Set these permissions. Leave everything else at None.

Resource Permission
Balance Read
Charges and Refunds Write
Customers Write
PaymentIntents Write
Accounts, in the Connect section Read
Webhook Endpoints Write

Write includes Read. Some Stripe accounts show Charges and Refunds as Charges. Set all six permissions. YoPrint checks Accounts and Webhook Endpoints when you save. It uses the other permissions when customers pay or you issue refunds.

Choose Create key, complete Stripe's verification, and copy the restricted key. Stripe shows a new live restricted or secret key only once, so store it securely. See Stripe's guide to finding and managing API keys.

Test mode API keys

YoPrint's connection form describes live keys, because only live keys take real payments. To test payments first, turn on test mode (or open a sandbox) in your Stripe Dashboard and use keys from it: a publishable key starting with pk_test_ and a restricted or secret key starting with rk_test_ or sk_test_. To accept real payments, switch Stripe to live mode, copy live keys from the same account (pk_live_ and rk_live_ or sk_live_), and update your connection in YoPrint with Edit.

Use a standard secret key instead

YoPrint also accepts a standard secret key. It has full access to your Stripe account, so you do not need to set individual permissions.

Stripe dashboard

These steps happen in Stripe. Stripe's screens and the order of its prompts may have changed since we took these pictures. If something looks different, follow Stripe's current API key instructions.

  1. In your Stripe Dashboard, open Developers › API keys.

    Stripe developer tools with API keys

  2. Under Standard keys, select + Create secret key. Your Publishable Key is also on this page.

    Stripe standard keys and Create secret key

  3. Enter a key name.

    Name the Stripe secret key

  4. Complete Stripe's verification prompts. The example uses Verify by email + more verification.

    Stripe identity verification prompt

  5. Complete any remaining key-creation prompts. The older screen below shows Building your own integration and Create secret key.

    Older Stripe key-creation choices

  6. Copy your new secret key and select Done.

    Copy the new Stripe key and finish

Connect Stripe in YoPrint

Keep your Stripe Dashboard open in another browser tab, so you can copy each key and paste it straight into YoPrint.

  1. Open Configuration.

    Configuration menu

  2. Choose Settings.

    Settings in the Configuration menu

  3. Choose Apps under Integrations on Settings home.

    Apps on Settings home

  4. On the Stripe card, click Connect.

    Connect on the Stripe card

    Stripe is already connected

    The card shows a disabled Connected button instead of Connect. To view or update your keys, see Update or disconnect Stripe.

  5. Paste your publishable key into Publishable key.

    Publishable key field

  6. Paste your restricted key or standard secret key into Restricted or secret key.

    Restricted or secret key field

  7. Click Save. YoPrint checks your key with Stripe and automatically configures a webhook during connection.

    Save the Stripe connection

Confirm that the Stripe card displays Connected. The button is disabled because the integration is active.

The Stripe card showing Connected

Correct keys in the wrong fields

YoPrint identifies the kind of key you paste. If you paste both keys into the wrong fields, YoPrint offers to swap them.

  1. Click Swap the keys to put your publishable key in Publishable key and your restricted or secret key in Restricted or secret key.

    Swap the keys in the Stripe connection form

Then click Save to finish connecting.

Update or disconnect Stripe

  1. On the Stripe card in Apps, open the three-dot Open integration actions menu.

    The Open integration actions menu on the Stripe card

  2. Choose Edit to view or update your keys.

    The Stripe connection form with saved keys

The form opens with your saved keys. The restricted or secret key stays hidden unless you click the eye icon beside it. To change a key, paste the new one and click Save.

To disconnect Stripe, choose Remove in the same menu.

After you connect Stripe

Once Stripe is connected, customers see Pay invoice on unpaid invoices in the Customer Portal, unless you turn online payments off in Customer Portal Settings. Your customer opens the invoice and clicks Pay invoice, or Pay now on the order.

Pay invoice in the Customer Portal

In the payment window, they choose how much to pay and then Credit or debit card. To require customers to pay the order's available balance or deposit instead of a partial payment amount, turn off Enable Customer Portal Split Payment in Customer Portal Settings. They enter their card in the card form and click the Pay button, which shows the amount, such as Pay $60.00.

The card form after choosing Credit or debit card

The portal confirms the payment, and the invoice shows as paid. To check what appears on the payment receipt and how customers open or find it later, see What Your Customers See on a Receipt.

Payment Successful in the Customer Portal

If you offer more than one card processor, the processor name appears in parentheses, such as Credit or debit card (Stripe), so customers can tell the options apart. See Customer Portal Overview for customer payment instructions.

To check the payment option yourself, view the Customer Portal as your customer. A payment you complete there is charged like any customer payment, so use test keys if you only want to try it.

To ask a customer to pay, send a payment request from the sales order: see Collect and Record Payments. To collect a deposit before work starts, set one up with Manage Payment Terms. Payments you take yourself, such as cash or checks, are recorded with a payment method.

Record payments you take in person or over the phone outside YoPrint, such as on an external card terminal, as manual payments. Recording a manual payment does not charge a card. To charge a customer's card at the counter or over the phone, see Configure Square Payments or Configuring Authorize.net Integration.

When a customer pays through the portal, Stripe confirms the transaction, and YoPrint records the payment against the order and updates the balance. In the order's Payments card, the payment shows as Stripe.

A Stripe payment recorded on the sales order

YoPrint records the full payment amount on the invoice. Stripe deducts payment processing fees and manages payouts in your Stripe account. YoPrint does not add Stripe fees to the customer's invoice or record processor fees in QuickBooks.

The payment details show the Stripe fee recorded for the payment. To see a payment's details, follow Read a Customer Payment.

To issue a refund from YoPrint, follow How Refunds Work in YoPrint. If you issue a refund in your Stripe Dashboard instead, Stripe notifies YoPrint through the webhook and records the refund against the order.

If a customer disputes a card payment with their bank, see Handle a Disputed Payment. If you sync payments with QuickBooks Online, see Connect YoPrint with QuickBooks Online.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.