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
- 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 tosk_live_. - Paste it into Secret key in InvoiceNest and click Save payment settings.
- Click Test connection.
Webhook (recommended)
The webhook lets Stripe tell your site about a payment even if the customer closes the page before returning.
- In Stripe, go to Developers → Webhooks → Add endpoint.
- Use the endpoint URL shown in InvoiceNest’s settings. It looks like
https://your-site.com/wp-json/invoicenest/v1/stripe-webhook - Select the events
checkout.session.completedandcheckout.session.async_payment_succeeded. - 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
- Sign in at developer.paypal.com → Apps & Credentials and create a REST app.
- Copy its Client ID and Secret into InvoiceNest.
- Choose Sandbox (testing) while you test, then Live with your live app’s credentials.
- 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.