{"id":1397,"date":"2017-08-28T12:18:57","date_gmt":"2017-08-28T11:18:57","guid":{"rendered":"https:\/\/help.cirrus-shield.com\/docs\/admin-guide\/plugins\/stripe\/"},"modified":"2026-11-12T10:07:21","modified_gmt":"2026-11-12T09:07:21","slug":"stripe","status":"publish","type":"docs","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/admin-guide\/plugins\/stripe\/","title":{"rendered":"Stripe Invoice \u2014 Administrator guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Before configuring Stripe, the Cirrus Shield organisation must contain the objects, fields, plugin and Connected App described here, with exactly these API names. The screenshots show the French Cirrus Shield interface; French labels are given in quotes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Stripe Invoice reads the data below by its <strong>API name<\/strong> and writes only two invoice fields: <code>Payment_Status<\/code> and <code>Payment_Date<\/code>. A different API name (for example <code>Facture<\/code> or <code>Statut_de_paiement<\/code>) prevents the app from finding the data.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Object (API name)<\/th><th>Fields used (API names)<\/th><th>Create it?<\/th><th>Read \/ written<\/th><\/tr><\/thead><tbody><tr><td><code>Invoice<\/code><\/td><td><code>Invoice_Number<\/code>, <code>Contact<\/code>, <code>Amount<\/code>, <code>VAT<\/code>, <code>Payment_Status<\/code>, <code>Payment_Date<\/code>, <code>Due_Date<\/code>, <code>Pay_URL<\/code><\/td><td>Yes (custom object)<\/td><td>Read; <code>Payment_Status<\/code> and <code>Payment_Date<\/code> written after payment<\/td><\/tr><tr><td><code>Invoice_Line_Item<\/code><\/td><td><code>Invoice<\/code>, <code>Product<\/code>, <code>Quantity<\/code>, <code>Discount<\/code>, <code>Price<\/code>, <code>Total_Price<\/code><\/td><td>Yes (custom object)<\/td><td>Read<\/td><\/tr><tr><td><code>Contact<\/code><\/td><td><code>Email<\/code>, <code>Work_Phone<\/code>, <code>Street<\/code>, <code>City<\/code>, <code>Country<\/code>, <code>ZIP<\/code><\/td><td>No (standard)<\/td><td>Read<\/td><\/tr><tr><td><code>Product<\/code><\/td><td><code>Name<\/code>, <code>Product_Code<\/code>, <code>Default_Unit_Price<\/code><\/td><td>No (standard)<\/td><td>Read<\/td><\/tr><tr><td>Organisation<\/td><td>Base currency, logo<\/td><td>No (organisation settings)<\/td><td>Read<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The label is free, the API name is not.<\/strong> Create each object and field with the exact API name from the table. Once created, you can change its label (for example \u201cInvoice\u201d, \u201cPayment status\u201d): the app only reads the API name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Picklist values:<\/strong> <code>Payment_Status<\/code> must have the values <code>Unpaid<\/code> and <code>Paid<\/code> exactly. The payment button only appears when the status is <code>Unpaid<\/code>, and the app writes <code>Paid<\/code> after payment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 \u2014 Check the Invoice object and its fields (create them if missing)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>Setup \u2192 Objects<\/strong> (\u201cObjets\u201d), check that an object with the API name <code>Invoice<\/code> exists and has the fields below with these API names and types. Create the object or any missing field (label of your choice). To create the <code>Amount<\/code> field, the <code>Invoice_Line_Item<\/code> object (Step 2) must already exist: it is a roll-up of its lines.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"456\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-01-setup-menu.png\" alt=\"Cirrus Shield Setup menu (French interface): Objets, Onglets, Applications, Int\u00e9gration, Gestion des utilisateurs, Organisation, Mod\u00e8le de page, Mod\u00e8les, Historique des connexions, Extensions, Importation de donn\u00e9es, Applications connect\u00e9es\" class=\"wp-image-12825\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-01-setup-menu.png 960w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-01-setup-menu-300x143.png 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-01-setup-menu-768x365.png 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><figcaption class=\"wp-element-caption\">The Setup menu: <strong>Objects<\/strong> (\u201cObjets\u201d) for Steps 1 to 3, <strong>Extensions<\/strong> and <strong>Connected Apps<\/strong> (\u201cApplications connect\u00e9es\u201d) for Steps 7 and 8.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"260\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object.png\" alt=\"Details of the custom object Facture: label Facture, name Invoice\" class=\"wp-image-12827\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object.png 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object-300x50.png 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object-1024x170.png 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object-768x127.png 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object-1536x255.png 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-02-invoice-object-1080x179.png 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">Object details: the label is \u201cFacture\u201d, the <strong>Name<\/strong> (\u201cNom\u201d, the API name) is <code>Invoice<\/code>. The name is what counts.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Suggested label<\/th><th>API name (required)<\/th><th>Type<\/th><th>Settings<\/th><\/tr><\/thead><tbody><tr><td>Invoice number<\/td><td><code>Invoice_Number<\/code><\/td><td>Auto number or Text<\/td><td>For example prefix <code>Inv-<\/code>, format <code>00000<\/code>, start <code>1<\/code><\/td><\/tr><tr><td>Contact<\/td><td><code>Contact<\/code><\/td><td>Lookup relationship<\/td><td>Related to <strong>Contact<\/strong><\/td><\/tr><tr><td>Amount<\/td><td><code>Amount<\/code><\/td><td>Roll-up (\u201cCumulatif\u201d)<\/td><td>Summarized object <strong>Invoice_Line_Item<\/strong>, roll-up type <strong>Sum<\/strong>, field to aggregate <strong>Total_Price<\/strong><\/td><\/tr><tr><td>VAT (%)<\/td><td><code>VAT<\/code><\/td><td>Number<\/td><td>Length 3, 2 decimals; it is a <strong>rate<\/strong> (20 = 20%)<\/td><\/tr><tr><td>Payment status<\/td><td><code>Payment_Status<\/code><\/td><td>Picklist<\/td><td>Values whose <strong>Name<\/strong> is <code>Unpaid<\/code> and <code>Paid<\/code> (see below)<\/td><\/tr><tr><td>Payment date<\/td><td><code>Payment_Date<\/code><\/td><td>Date\/Time<\/td><td>\u2014<\/td><\/tr><tr><td>Due date<\/td><td><code>Due_Date<\/code><\/td><td>Date<\/td><td>\u2014<\/td><\/tr><tr><td>Payment link<\/td><td><code>Pay_URL<\/code><\/td><td>Formula (Text)<\/td><td>See Step 3<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To add a field: the object&#8217;s <strong>Custom fields<\/strong> tab (\u201cChamps personnalis\u00e9s\u201d), the <strong>+<\/strong> button, choose the type, then enter the <strong>Label<\/strong> (\u201c\u00c9tiquette\u201d) and the <strong>Name<\/strong> (\u201cNom\u201d).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"490\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-03-field-type.png\" alt=\"Step 1 of 2 of field creation: list of data types (Case \u00e0 cocher, Cumulatif, Date, Devise, Formule, Nombre, Liste de s\u00e9lection, ...)\" class=\"wp-image-12829\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-03-field-type.png 979w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-03-field-type-300x150.png 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-03-field-type-768x384.png 768w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><figcaption class=\"wp-element-caption\">Choosing the data type (step 1 of 2 of the wizard).<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"698\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup.jpg\" alt=\"Roll-up field: label Montant, name Amount, summarized object Ligne de Facture, roll-up type Somme, field to aggregate Prix total\" class=\"wp-image-12831\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup.jpg 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup-300x134.jpg 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup-1024x456.jpg 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup-768x342.jpg 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup-1536x684.jpg 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-04-amount-rollup-1080x481.jpg 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">The <code>Amount<\/code> field: roll-up (\u201cCumulatif\u201d) on <strong>Ligne de Facture<\/strong> (<code>Invoice_Line_Item<\/code>), <strong>Sum<\/strong> (\u201cSomme\u201d) of <strong>Prix total<\/strong> (<code>Total_Price<\/code>).<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"698\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field.jpg\" alt=\"Number field: label TVA (%), name VAT, length 3, decimals 2\" class=\"wp-image-12833\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field.jpg 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field-300x134.jpg 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field-1024x456.jpg 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field-768x342.jpg 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field-1536x684.jpg 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-05-vat-field-1080x481.jpg 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">The <code>VAT<\/code> field: Number, length 3, 2 decimals.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Standard Cirrus Shield organisation:<\/strong> the Invoice object often already exists with the API name <code>Invoice<\/code> and the fields <code>Invoice_Number<\/code>, <code>Contact<\/code>, <code>Payment_Status<\/code>, <code>Payment_Date<\/code>, <code>Due_Date<\/code> and <code>Pay_URL<\/code>. Usually you only need to add <code>Amount<\/code>, <code>VAT<\/code> and the <code>Unpaid<\/code> \/ <code>Paid<\/code> values.<\/li>\n\n\n\n<li><strong><code>Payment_Status<\/code><\/strong><strong> values:<\/strong> in the field&#8217;s details, <strong>Picklist values \u2192 +<\/strong>, enter <code>Unpaid<\/code> then <code>Paid<\/code> (one value per line) and save. Cirrus Shield gives each value the same <strong>Name<\/strong> (<code>Unpaid<\/code>, <code>Paid<\/code>). Keep these names. New invoices to be paid must have the status <code>Unpaid<\/code> (tick it as <strong>Default value<\/strong> if all your invoices go through Stripe).<\/li>\n\n\n\n<li><strong>Amount charged to the customer:<\/strong> Stripe Invoice charges the <strong>Total = Amount + Amount \u00d7 VAT \/ 100<\/strong>. The VAT amount and the total are calculated by the app.<\/li>\n\n\n\n<li><strong>Status and date:<\/strong> after payment, the app writes <code>Payment_Status = Paid<\/code> and <code>Payment_Date<\/code> (UTC time). Don&#8217;t make them required.<\/li>\n\n\n\n<li><strong>Saving the roll-up:<\/strong> saving the <code>Amount<\/code> field can take about a minute while Cirrus Shield calculates the amount of every invoice. Wait without reloading the page.<\/li>\n\n\n\n<li><strong>Renaming later:<\/strong> you can change the label of the object and of each field. The API name must not change.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"698\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values.jpg\" alt=\"Picklist values of the Statut (Payment_Status) field: Unpaid, Non Envoy\u00e9e (default), Paid, Envoy\u00e9e au Client, Pay\u00e9e Partiellement, Pay\u00e9e en Totalit\u00e9, Annul\u00e9e\/ Supprim\u00e9e\" class=\"wp-image-12835\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values.jpg 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values-300x134.jpg 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values-1024x456.jpg 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values-768x342.jpg 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values-1536x684.jpg 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-06-payment-status-values-1080x481.jpg 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\"><code>Payment_Status<\/code> after the change: the values <code>Unpaid<\/code> and <code>Paid<\/code> (same value and name) sit next to the organisation&#8217;s existing values; here the default stayed \u201cNon Envoy\u00e9e\u201d.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 \u2014 Check the Invoice_Line_Item object and its fields (create them if missing)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check that an object with the API name <code>Invoice_Line_Item<\/code> exists with the fields below; otherwise create it or add the missing fields (label of your choice). Each line appears on the payment page with its product, quantity, price, discount and total.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Suggested label<\/th><th>API name (required)<\/th><th>Type<\/th><th>Settings<\/th><\/tr><\/thead><tbody><tr><td>Invoice<\/td><td><code>Invoice<\/code><\/td><td>Lookup relationship<\/td><td>Related to <strong>Invoice<\/strong><\/td><\/tr><tr><td>Product<\/td><td><code>Product<\/code><\/td><td>Lookup relationship<\/td><td>Related to <strong>Product<\/strong><\/td><\/tr><tr><td>Quantity<\/td><td><code>Quantity<\/code><\/td><td>Number<\/td><td>\u2014<\/td><\/tr><tr><td>Discount (%)<\/td><td><code>Discount<\/code><\/td><td>Number or Percent<\/td><td>10 = 10%<\/td><\/tr><tr><td>Price<\/td><td><code>Price<\/code><\/td><td>Formula, return type <strong>Currency<\/strong>, 2 decimals<\/td><td><code>Product__ro.Product__ro.Default_Unit_Price * Quantity<\/code><\/td><\/tr><tr><td>Total price<\/td><td><code>Total_Price<\/code><\/td><td>Formula, return type <strong>Currency<\/strong>, 2 decimals<\/td><td><code>Price - Price * Discount \/ 100<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The syntax <code>Product__ro.Product__ro.&lt;field&gt;<\/code> (lookup field, then object) is the one the formula editor accepts; the old form <code>Product__ro.Default_Unit_Price<\/code> is rejected (\u201cErreur dans la syntaxe\u201d). Click the check icon to the right of the formula: Cirrus Shield must show \u201cLa syntaxe de la formule est correcte !\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"698\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula.jpg\" alt=\"Price formula field: return type Devise, 2 decimals, formula Product__ro.Product__ro.Default_Unit_Price * Quantity, message La syntaxe de la formule est correcte\" class=\"wp-image-12839\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula.jpg 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula-300x134.jpg 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula-1024x456.jpg 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula-768x342.jpg 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula-1536x684.jpg 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-08-price-formula-1080x481.jpg 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">The <code>Price<\/code> field: return type <strong>Currency<\/strong> (\u201cDevise\u201d), 2 decimals, and the formula accepted by the check.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Empty discount:<\/strong> on <code>Price<\/code> and <code>Total_Price<\/code>, tick <strong>Empty fields are treated as zeros<\/strong> (\u201cLes champs vides vont \u00eatre consid\u00e9r\u00e9s comme des z\u00e9ros\u201d). Otherwise a line without a discount has an empty <strong>Total price<\/strong> and the invoice an amount of 0.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"417\" height=\"37\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-07-empty-fields-zero.png\" alt=\"Ticked option: Les champs vides vont \u00eatre consid\u00e9r\u00e9s comme des z\u00e9ros\" class=\"wp-image-12837\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-07-empty-fields-zero.png 417w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-07-empty-fields-zero-300x27.png 300w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><figcaption class=\"wp-element-caption\">The option to tick in the formula field&#8217;s form.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Existing invoices:<\/strong> the <code>Amount<\/code> roll-up is only recalculated when a line is saved. After creating or changing these fields, open and save again the lines of the invoices to be paid.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Creation order:<\/strong> create <code>Invoice<\/code> and <code>Product<\/code> before the formulas, because <code>Price<\/code> reads the unit price of the linked product (<code>Product__ro.Product__ro.Default_Unit_Price<\/code>).<\/li>\n\n\n\n<li><strong>Link with the amount:<\/strong> the invoice&#8217;s <code>Amount<\/code> field (Step 1) adds up <code>Total_Price<\/code> of all its lines. Create it after this object.<\/li>\n\n\n\n<li><strong>Labels:<\/strong> as for the invoice, rename the labels freely afterwards, but keep the API names.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 \u2014 Check the Pay_URL payment link (create it if missing)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On the <code>Invoice<\/code> object, check that a <strong>Formula<\/strong> field with the API name <code>Pay_URL<\/code> and return type <strong>Text<\/strong> exists and contains the formula below; otherwise create it or fix its formula. It shows on each invoice the link to send to the customer (for example by email).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HyperLink(\"https:\/\/stripe.cirrus-shield.net\/Payment.php?i=\" + Id + \"&amp;o=\" + $Organization.Id, \"Pay\")<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"698\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field.jpg\" alt=\"Details of the Lien de paiement field: name Pay_URL, return type Texte, HyperLink formula to stripe.cirrus-shield.net\/Payment.php\" class=\"wp-image-12841\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field.jpg 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field-300x134.jpg 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field-1024x456.jpg 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field-768x342.jpg 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field-1536x684.jpg 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-09-pay-url-field-1080x481.jpg 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">The <code>Pay_URL<\/code> field (label \u201cLien de paiement\u201d) with the formula, here with the link text <code>\"Pay\"<\/code>.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Don&#8217;t change the address:<\/strong> <code>https:\/\/stripe.cirrus-shield.net\/Payment.php?i=\u2026&amp;o=\u2026<\/code> is the address the app expects. Old formulas using <code>payment.php<\/code> (lower case) also work.<\/li>\n\n\n\n<li><strong>Link text:<\/strong> <code>\"Pay\"<\/code> can be anything (for example <code>\"Payer\"<\/code>).<\/li>\n\n\n\n<li><strong>What the customer sees:<\/strong> the invoice (header, contact, lines, VAT, total), then the payment button that opens the Stripe payment page. An invoice already paid shows without a button.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 \u2014 Check the standard fields used<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These fields already exist in Cirrus Shield: nothing to create, but they must be filled in for the invoice to display fully.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Object<\/th><th>Fields (API names)<\/th><th>Used for<\/th><\/tr><\/thead><tbody><tr><td><code>Contact<\/code><\/td><td><code>Email<\/code>, <code>Work_Phone<\/code>, <code>Street<\/code>, <code>City<\/code>, <code>Country<\/code>, <code>ZIP<\/code><\/td><td>\u201cCustomer\u201d block of the payment page<\/td><\/tr><tr><td><code>Product<\/code><\/td><td><code>Name<\/code>, <code>Product_Code<\/code>, <code>Default_Unit_Price<\/code><\/td><td>Name and code of each line; unit price read by the <code>Price<\/code> formula<\/td><\/tr><tr><td>Organisation<\/td><td>Base currency, logo<\/td><td>Payment currency; logo at the top of the page (Cirrus Shield logo if missing)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Currency:<\/strong> payment is made in the organisation&#8217;s base currency (<strong>Setup \u2192 Organisation<\/strong>). Check it before the first payment.<\/li>\n\n\n\n<li><strong>Logo:<\/strong> add the organisation&#8217;s logo in <strong>Setup \u2192 Organisation<\/strong> so it appears on the payment page.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5 \u2014 Show invoices to users<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These settings change nothing for the app: they let users create invoices and see the payment link.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Tab:<\/strong> <strong>Setup \u2192 Tabs \u2192 New<\/strong>, type <strong>Object<\/strong>, custom object <strong>Invoice<\/strong> (label of your choice).<\/li>\n\n\n\n<li><strong>Profiles:<\/strong> in the tab&#8217;s details, <strong>Profiles \u2192 Edit profiles<\/strong>, add the profiles that must see invoices.<\/li>\n\n\n\n<li><strong>Application:<\/strong> <strong>Setup \u2192 Applications<\/strong>, open the application concerned (for example CRM), <strong>Tabs \u2192 Edit<\/strong>, add <strong>Invoice<\/strong>, save. The tab appears in the left menu.<\/li>\n\n\n\n<li><strong>Page layout:<\/strong> create a page layout (page designer) for <strong>Invoice_Line_Item<\/strong>, then one for <strong>Invoice<\/strong>. In the invoice layout, add a section with the <strong>Invoice_Line_Item<\/strong> related list and the <strong>Pay_URL<\/strong> field. Tick <strong>Tabs<\/strong> to show the section as a tab.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The old web page \u201cInvoiceUsers_Management.php\u201d is no longer used: don&#8217;t create a web tab to that address.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6 \u2014 Check the objects and fields<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before installing the plugin, check the API names in <strong>Setup \u2192 Objects<\/strong>: it is the most common reason an invoice does not display.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2610 The <strong>Invoice<\/strong> object exists and its API name is <code>Invoice<\/code>.<\/li>\n\n\n\n<li>\u2610 Its fields have the API names <code>Invoice_Number<\/code>, <code>Contact<\/code>, <code>Amount<\/code>, <code>VAT<\/code>, <code>Payment_Status<\/code>, <code>Payment_Date<\/code>, <code>Due_Date<\/code>, <code>Pay_URL<\/code>.<\/li>\n\n\n\n<li>\u2610 <code>Payment_Status<\/code> has the values <code>Unpaid<\/code> and <code>Paid<\/code>; <code>Unpaid<\/code> is the default value.<\/li>\n\n\n\n<li>\u2610 The <strong>Invoice_Line_Item<\/strong> object exists with <code>Invoice<\/code>, <code>Product<\/code>, <code>Quantity<\/code>, <code>Discount<\/code>, <code>Price<\/code>, <code>Total_Price<\/code>.<\/li>\n\n\n\n<li>\u2610 A test invoice with at least one line shows a non-zero <strong>Amount<\/strong> and a <strong>Pay<\/strong> link.<\/li>\n\n\n\n<li>\u2610 The invoice&#8217;s contact has an email address; the organisation has its base currency (and its logo).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">An organisation set up with the old French help may have the names <code>Facture<\/code>, <code>Ligne_de_facture<\/code>, <code>Statut_de_paiement<\/code>, <code>Date_de_paiement<\/code>, <code>Payer_URL<\/code> or the values <code>Pay\u00e9<\/code> \/ <code>Non pay\u00e9<\/code>. These names are not recognised: create the objects and fields with the API names above.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7 \u2014 Check the extension and the Connected App<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Stripe Invoice connects to Cirrus Shield through a <strong>confidential Connected App<\/strong> (OAuth 2.0) linked to the <strong>Stripe Invoice<\/strong> extension: no Cirrus Shield username or password is entered in the app. <strong>Cirrus Shield Support<\/strong> installs both; you only check that they are present and active.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2610 <strong>Setup \u2192 Extensions<\/strong> (\u201cExtensions\u201d): the <strong>Stripe Invoice<\/strong> row exists and <strong>Installed<\/strong> (\u201cInstall\u00e9\u201d) is ticked.<\/li>\n\n\n\n<li>\u2610 <strong>Setup \u2192 Connected Apps<\/strong> (\u201cApplications connect\u00e9es\u201d): the <strong>Stripe Invoice Confidentiel<\/strong> row exists, type <strong>Confidential<\/strong>, scopes <code>api:read,api:write<\/code>, <strong>Status<\/strong> ticked.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If either is missing or inactive, contact Cirrus Shield Support.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"204\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions.png\" alt=\"Extensions list: Stripe Invoice, Install\u00e9 ticked\" class=\"wp-image-12843\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions.png 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions-300x39.png 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions-1024x133.png 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions-768x100.png 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions-1536x200.png 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-10-extensions-1080x141.png 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">Setup \u2192 Extensions after installation: <strong>Stripe Invoice<\/strong> has <strong>Installed<\/strong> (\u201cInstall\u00e9\u201d) ticked (list reduced to this row).<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"204\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps.png\" alt=\"Connected Apps list: Stripe Invoice Confidentiel, type Confidentiel, scopes api:read,api:write, status active\" class=\"wp-image-12845\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps.png 1568w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps-300x39.png 300w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps-1024x133.png 1024w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps-768x100.png 768w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps-1536x200.png 1536w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-11-connected-apps-1080x141.png 1080w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><figcaption class=\"wp-element-caption\">Setup \u2192 Connected Apps: <strong>Stripe Invoice Confidentiel<\/strong>, type <strong>Confidential<\/strong>, scopes <code>api:read,api:write<\/code>, status active (client id hidden).<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Associated user:<\/strong> open the <strong>Details<\/strong> of Stripe Invoice Confidentiel and check that an associated user is set. That user must be able to <strong>read<\/strong> Invoice, Invoice_Line_Item, Contact, Product and the organisation, and <strong>update<\/strong> Invoice.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 8 \u2014 Open the plugin configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>Setup \u2192 Extensions \u2192 Stripe Invoice<\/strong>, open the plugin&#8217;s <strong>Details<\/strong>. Cirrus Shield shows the Stripe Invoice configuration page and passes it the Connected App&#8217;s credentials.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Expected:<\/strong> \u201cThe Cirrus Shield connection is configured.\u201d, with the server (Production or Beta) and the organisation id. The same page is then used to enter the Stripe keys and the alert email (see Stripe configuration).<\/li>\n\n\n\n<li><strong>Always from the plugin:<\/strong> open this page from Cirrus Shield, never from a saved link. Cirrus Shield sends a new secret each time the page is displayed, and the app saves it each time.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Message shown<\/th><th>Cause<\/th><th>What to do<\/th><\/tr><\/thead><tbody><tr><td>Open this page from the Stripe Invoice plugin in Cirrus Shield Setup.<\/td><td>Page opened outside the plugin, or no active Connected App linked<\/td><td>Check Step 7 (extension installed, Connected App active; otherwise contact Support), then reopen from the plugin<\/td><\/tr><tr><td>The Connected App needs an Associated User.<\/td><td>The Connected App has no associated user<\/td><td>Set the associated user in <strong>Connected Apps<\/strong><\/td><\/tr><tr><td>Cirrus Shield did not accept these credentials.<\/td><td>Secret rejected (regenerated, or app inactive)<\/td><td>Reopen the page from the plugin; check that the plugin is installed<\/td><\/tr><tr><td>Cirrus Shield could not be reached.<\/td><td>Cirrus Shield server unreachable<\/td><td>Try again later<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Stripe configuration<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Once the prerequisites are in place, the administrator links the organisation to its own Stripe account: payments go straight to that account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 9 \u2014 Stripe account and API keys<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create an account on <a href=\"https:\/\/stripe.com\/\">stripe.com<\/a> if the organisation doesn&#8217;t have one: the money from paid invoices is paid into this account.<\/li>\n\n\n\n<li>In the Stripe dashboard, open <strong>Developers \u2192 API keys<\/strong>. Two keys are needed: the <strong>publishable key<\/strong> (<code>pk_\u2026<\/code>) and the <strong>secret key<\/strong> (<code>sk_\u2026<\/code>, or a restricted key <code>rk_\u2026<\/code>).<\/li>\n\n\n\n<li><strong>Test or live:<\/strong> to try it out, use the <strong>test mode<\/strong> keys (<code>pk_test_\u2026<\/code>, <code>sk_test_\u2026<\/code>): no real payment is taken. To take real payments, use the <strong>live<\/strong> keys (<code>pk_live_\u2026<\/code>, <code>sk_live_\u2026<\/code>).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Never send the secret key by email or in a ticket: enter it only on the configuration page (Step 10).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 10 \u2014 Enter the Stripe keys and the alert email<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open the <strong>Stripe Invoice<\/strong> extension&#8217;s details (Step 8). Under \u201cThe Cirrus Shield connection is configured.\u201d, the page shows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Stripe keys:<\/strong> the state of each key (<code>set<\/code> \/ <code>not set<\/code>) and, with test keys, the <strong>TEST MODE<\/strong> banner (no real payment).<\/li>\n\n\n\n<li><strong>Publishable key \/ Secret key:<\/strong> paste the two keys from Step 9. Leave a field empty to keep the key already saved. Keys are never shown again.<\/li>\n\n\n\n<li><strong>Alert email:<\/strong> the administrator&#8217;s address. An email is sent from <code>noreply@cirrus-shield.com<\/code> if Cirrus Shield stops accepting the extension&#8217;s credentials; customers then see a \u201cpayment temporarily unavailable\u201d page.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"705\" src=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-12-stripe-config.png\" alt=\"Stripe Invoice configuration page: The Cirrus Shield connection is configured, Beta server, keys not set, webhook address, fields Publishable key, Secret key, Webhook signing secret, Alert email, Save button\" class=\"wp-image-12847\" srcset=\"https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-12-stripe-config.png 642w, https:\/\/help.cirrus-shield.com\/wp-content\/uploads\/2026\/11\/stripe-admin-12-stripe-config-273x300.png 273w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><figcaption class=\"wp-element-caption\">The configuration page opened from the extension, before the keys are entered (\u201cnot set\u201d); the webhook address ends with the organisation id.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Save<\/strong>: the page shows \u201cSettings saved.\u201d. To change keys later (for example from test to live), open the extension&#8217;s details again and repeat.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 11 \u2014 Create the Stripe webhook<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The webhook records the payment in Cirrus Shield even if the customer closes their page before the end.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the configuration page, in <strong>Stripe webhook<\/strong>, copy the address shown: <code>https:\/\/stripe.cirrus-shield.net\/stripe\/webhook\/&lt;organisation id&gt;<\/code>.<\/li>\n\n\n\n<li>In the Stripe dashboard, open <strong>Developers \u2192 Webhooks \u2192 Add endpoint<\/strong>, paste the address and select the event <code>checkout.session.completed<\/code>.<\/li>\n\n\n\n<li>Copy the endpoint&#8217;s <strong>signing secret<\/strong> (<code>whsec_\u2026<\/code>), paste it into the <strong>Webhook signing secret<\/strong> field of the configuration page, then <strong>Save<\/strong>. The state changes to \u201cWebhook signing secret: set\u201d.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Create the webhook in the same mode as the keys: test mode with test keys, live mode with live keys.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 12 \u2014 Make a test payment<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With <strong>test<\/strong> keys (TEST MODE banner), check the whole flow before switching to live keys:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create an <code>Unpaid<\/code> invoice with a contact, at least one line (a product with a default unit price) and a VAT rate.<\/li>\n\n\n\n<li>Open its <strong>payment link<\/strong>: the invoice shows the <strong>Total = Amount + VAT<\/strong> and the <strong>Pay with Card<\/strong> button.<\/li>\n\n\n\n<li>Pay with the Stripe test card <code>4242 4242 4242 4242<\/code>, any future expiry date and any code.<\/li>\n\n\n\n<li>Check: \u201cPayment received \u2014 thank you\u201d page, invoice switched to <code>Paid<\/code> with its payment date, payment visible in the Stripe dashboard (test mode), and in <strong>Webhooks<\/strong> a successful delivery of <code>checkout.session.completed<\/code>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">What users and their customers then see is described in the <a href=\"https:\/\/help.cirrus-shield.com\/en\/docs\/user-guide\/integrations\/stripe\/\"><strong>Stripe Invoice user guide<\/strong><\/a>.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1363,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_is_vendor_doc":"0","footnotes":""},"doc_tag":[],"class_list":["post-1397","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/comments?post=1397"}],"version-history":[{"count":57,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1397\/revisions"}],"predecessor-version":[{"id":12859,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1397\/revisions\/12859"}],"up":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1363"}],"next":[{"title":"HelloSign","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/admin-guide\/plugins\/e-signature-configuration\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/6343"}],"prev":[{"title":"Brevo (previously Sendinblue)","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/admin-guide\/plugins\/sendinblue\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1303"}],"wp:attachment":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/media?parent=1397"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}