Skip to content
NestPlugins

Online payments (Stripe & PayPal)

Every invoice has a secure link to a page where the customer can view it, download the PDF and pay. Connect Stripe, PayPal or both under InvoiceNest → Settings → Online payments. A gateway that isn’t set up is simply not offered.

Card details never touch your site: customers pay on Stripe’s or PayPal’s own checkout, and InvoiceNest checks each payment with them before marking the invoice paid.

Currency

Choose the currency your payment account charges in. Online payment is only offered for invoices in that currency; other invoices can still be paid by bank transfer.

Stripe

  1. In Stripe, go to Developers → API keys and copy your Secret key. Use an sk_test_ key to try it without real money, then switch to sk_live_.
  2. Paste it into Secret key in InvoiceNest and click Save payment settings.
  3. Click Test connection.

Webhook (recommended)

The webhook lets Stripe tell your site about a payment even if the customer closes the page before returning.

  1. In Stripe, go to Developers → Webhooks → Add endpoint.
  2. Use the endpoint URL shown in InvoiceNest’s settings. It looks like https://your-site.com/wp-json/invoicenest/v1/stripe-webhook
  3. Select the events checkout.session.completed and checkout.session.async_payment_succeeded.
  4. Copy the endpoint’s Signing secret (whsec_…) into Webhook signing secret in InvoiceNest and save.

Settings shows Last webhook received so you can confirm it’s working — send a test event from Stripe to check.

PayPal

  1. Sign in at developer.paypal.com → Apps & Credentials and create a REST app.
  2. Copy its Client ID and Secret into InvoiceNest.
  3. Choose Sandbox (testing) while you test, then Live with your live app’s credentials.
  4. Click Test connection.

What the customer sees

The invoice page shows the amount due with Pay by card and/or Pay with PayPal buttons, plus your bank details for transfers. After paying they return to the invoice with a thank-you message, and you get a payment notification email.

Troubleshooting

  • No pay buttons on the invoice: check that a gateway is connected, the invoice isn’t an estimate or already paid, and its currency matches the payment account.
  • Paid but not marked paid: make sure the Stripe webhook is set up and Last webhook received updates when you send a test event.