| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Subscriptions (sale_subscription)
• eCommerce (website_sale) • Discuss (mail) • Sales (sale_management) • Invoicing (account) • Website (website) |
| Lines of code | 79 |
| Technical Name |
hdk_subscription_auto_save_token |
| License | OPL-1 |
| Website | https://www.hamdek.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Subscriptions (sale_subscription)
• eCommerce (website_sale) • Discuss (mail) • Sales (sale_management) • Invoicing (account) • Website (website) |
| Lines of code | 79 |
| Technical Name |
hdk_subscription_auto_save_token |
| License | OPL-1 |
| Website | https://www.hamdek.com |
Subscription Auto-Save Payment Token
Control automatic payment token saving for subscription plans. Choose whether payment details are saved automatically for renewals or require explicit user consent on the checkout page.
Key Features
Auto Save Payment Token
A boolean field on subscription plans controls whether payment tokens are saved automatically. Enable it for seamless renewals; disable it when you need explicit customer consent.
Conditional Messages
When auto-save is on, customers see: "Your payment details will be saved for automatic renewals." When off, the standard "Save my payment details" message and checkbox are shown.
Flexible Tokenization
Integrates with Odoo payment and subscription flows. Tokens are saved or requested based on the plan configuration, giving you control per subscription plan.
Plan-Level Control
Configure behavior per subscription plan in the Self-Service section. No code changes required—check or uncheck "Auto save payment token" to switch behavior.
How to Configure
- Install the module in your Odoo instance.
- Go to Sales → Subscriptions → Plans.
- Edit a subscription plan.
- In the Self-Service section, find the Auto save payment token field.
- Check it to save payment details automatically for renewals (default). Uncheck it to show the standard "Save my payment details" checkbox and require user consent.
Workflow Highlights
Subscription Plan Configuration
Set "Auto save payment token" on each plan under Sales → Subscriptions → Plans.
Checkout with Auto-Save Enabled
When the plan has auto-save on, customers see the automatic renewal message and no checkbox.
Checkout with Consent Required
When auto-save is off, the standard "Save my payment details" checkbox is shown.
Support & Expert Services
sales@hamdek.com
www.hamdek.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module