Subscriptions, updates and recovery¶
What is possible with subscriptions?¶
The core provider supports automatic charges using a saved TWINT method. The included subscription companion connects this to the official Odoo Enterprise Subscriptions app and records a stable billing period for each scheduled charge.
Release qualification: the companion is implemented but the official Enterprise scheduler still needs acceptance on the intended versions. It must be qualified before promising automatic renewals to customers.
For Enterprise subscriptions, install the companion, enable saved methods for the TWINT store/provider and ensure the customer's initial positive payment authorizes a saved TWINT method. Associate that method with the subscription through the native Odoo workflow. Odoo controls plans, recurring invoices, scheduling, retries and reminders; mame executes the TWINT payment.
Create a recurring plan in Subscriptions, for example monthly or yearly, and configure the subscription product with that plan and recurring price. Publish it through Odoo eCommerce if customers should buy it online. Use regular checkout for the initial purchase and saved-method authorization. The subscription app handles the next invoice and invokes the TWINT provider with the saved method; the buyer does not scan a new QR code for every period. Automatic charges settle directly even when manual capture is selected for normal purchases. Confirm this complete workflow with the licensed Enterprise app before enabling it for customers.
Community does not include the official Enterprise subscription app. You can use ordinary invoices and customer payment links without it. Third-party Community subscription apps require their own adapter and tests; they are not automatically covered by this addon.
Zero-price registration and automatic setup during a free trial are not enabled. A free trial therefore needs a later positive registration payment or another supported payment method before automatic TWINT collection. Confirm this workflow in the actual subscription app.
For declined, interrupted or duplicated renewal attempts, reconcile the original invoice/payment before creating another attempt. The addon identifies a subscription period independently of a retry's transaction number and prevents a second local transaction from silently taking over an existing request. An unresolved period or missing billing identity needs administrator review.
License renewal and updates¶
Your mame subscription can renew the plugin license annually. Use Synchronize connection in the provider after renewal if you want to refresh the displayed expiry. If the license expires, new TWINT payments are blocked until renewal. Existing transactions retain their connection for status checks, refunds and cancellation.
Open Updates in the TWINT configuration to see installed/released versions, changes and deployment status. The daily metadata check highlights released updates; it never installs automatically. Download ZIP fetches the matching package directly using your existing mame connection and a valid Odoo license.
After your administrator's one-time setup, Install update can back up, install, restart and upgrade the installed TWINT modules on a supported server installation. The website briefly enters maintenance. On Odoo.sh, Prepare Git update creates an update branch and pull request; test it on staging before merging to production. Without an adapter, use manual installation.
For manual installation, deploy the matching addon files to the server or Odoo.sh repository first, then use Apps → Upgrade. Update Apps List does not download code. Back up the database, filestore and encryption key and update all installed TWINT companions together on the matching Odoo major. An interrupted server update requires administrator review before maintenance is removed.
Connection diagnosis¶
Use Run setup check before troubleshooting individual payments. It separates API authentication, license/store readiness and signed incoming callback reachability from Odoo configuration. Last-check, last-successful-sync and last-payment-webhook times help distinguish a current connection check from actual payment processing. Check TWINT operations for the affected occurrence; the probe creates no financial operation. Results reflect their displayed check time, not continuous monitoring.
Retrying after a payment error¶
“A TWINT payment is still being checked or has already been paid” protects against duplicate collection. An error in the browser does not necessarily mean TWINT declined the payment.
Open TWINT → TWINT operations, find the original operation and choose Reconcile. An Authorized payment can be captured or voided; a Done payment needs no further charge. Retry only after confirmed cancellation or decline. An unknown result remains blocked; contact support with the operation reference. Do not delete transactions/operations or manually reset their status.
Common problems¶
| Symptom | Check |
|---|---|
| TWINT is not offered | Provider enabled/published, payment method active, CHF, correct company/website and license connection. |
| Store cannot be selected | Correct merchant account, active TWINT service/store and current mame payment platform. |
| Connection or license error | Client Credentials and TWINT scope, exact license, public URL, store ID and available activation. |
| Payment stays pending | Incoming HTTPS callbacks, webhook signing key, native payment jobs and TWINT reconciliation job. Reconcile before trying again. |
| Paid status but accounting incomplete | Payment journal/method line and native payment post-processing; check Odoo's accounting configuration. |
| Express falls back | Cart changed, missing address/email, additional checkout step, unsupported shipping, or tax/total mismatch. |
| Credentials fail after restore | Restore the original encryption key and check the configured key location. |
| Renewal has no billing identity | Check the Enterprise companion and invoice workflow; reconcile the original occurrence before retrying. |
Changing websites, companies or hosting¶
The activation is tied to the company, website/portal, provider and public URL. For a different binding, retain the old provider for its payment history and create a new provider. Release the old activation through mame or Disconnect license, then activate the intended new installation according to the license allowance. Do not overwrite old payment credentials while refunds or reconciliation are still needed.
Before cloning a production database, disable payment providers and scheduled charges. Use a new database UUID and separate test credentials for the clone. Keep the original database and encryption-key backup secure. The addon blocks uninstall when operation history exists; disable the provider instead of deleting financial history.
For support, include the Odoo major version, addon version and affected Odoo transaction/operation reference. Never send Client Secrets, webhook keys, license keys or complete database backups in an ordinary support message.