Odoo Recurly integration

Recurly Connector

Recurly runs your subscriptions. Odoo books every invoice, credit, payment and refund, to the cent.

RecurlyAPI v2021-02-25AccountsPlans and add-onsSubscriptionsInvoicesCredit invoicesTransactions

What it does

Paste a private API key from your Recurly site and pick the US or EU data center. Each run asks Recurly only for what changed since the last one. Accounts become contacts with their address, VAT number and tax exempt flag. Plans, add-ons and items become service products, with each currency price, billing interval and trial listed. Subscriptions are kept per customer with their plan, add-ons, period dates, coupons and a monthly MRR figure. Charge invoices and credit invoices are rebuilt line by line with discounts and taxes, and the Odoo total is checked against Recurly's before posting. Transactions become payments and refunds on the right document, credit payments apply a credit invoice to the invoice it paid, and a declined card shows its reason on the invoice and the customer.

Features

Accountscompany or person, e-mail, phone, address with state, VAT number, tax exempt flag; CC e-mails added as invoice contacts
Catalogplans and their add-ons, and items, as service products; every currency price with interval, trial and setup fee
Coupons and gift cardspercent or fixed coupons with duration and redeem-by date; gift cards with value, balance and recipient
Subscriptionsstate, plan, add-ons and quantities, period and trial dates, coupons, collection method, expiration reason, MRR
Invoices to the centone line per Recurly line item, a discount line under each discounted item, Odoo taxes with the same rate; if totals differ, Recurly's tax amounts are booked
Credit invoicesbooked as customer credit notes and linked to the invoice they refund
Transactionspurchases and captures registered on their invoice, refunds on their credit invoice, voided ones cancelled, gateway kept
Credit paymentsa credit invoice applied to a charge invoice is reconciled in Odoo the same way
Declined paymentsthe decline message goes on the invoice, into its chatter and on the customer
Odoo to Recurlysend a contact as an account, or a product as a catalog item with its price
Signed webhooksthe recurly-signature header is checked (HMAC-SHA256 with timestamp); the object is read again from Recurly and each notification handled once
Queue and logdocuments that cannot be booked yet wait and are retried with a growing delay