Subscriptions and automatic payments¶
By default, the Subscriptions app will automatically generate quotations and invoices for customers, but it can also support automatic payments. Setting up automatic payments requires additional configuration, including choosing an automatic payment provider and either setting up a customer portal or an eCommerce website. Here’s an overview of how to get started.
Setting up a payment processor that supports automatic payments¶
Setting up automatic recurring payments requires using a payment provider that supports tokenization. Tokenization lets customers save their payment details, such as credit card or banking account information, for automatic billing. The following payment providers support tokenization:
Here are the steps to setting up automatic payments.
Choose a payment provider that supports tokenization.
Follow the provider’s own setup guide to create an account and begin configuring their API credentials in Odoo.
Enable the payment provider.
Configure the payment methods for the chosen payment provider.
Configure the tokenization for the chosen payment provider.
How customers can set up automatic payments¶
Once these steps are complete, payment providers will be able to create tokens with customers” saved payment details during the checkout process. Saved payment details can then be used for future online or recurring subscription charges. Customers will also be able to log into their customer portal and enter their payment information there.
Some payment providers will automatically save customers” payment information as part of the checkout process. Others will give them the option to save their information for future payments. If customers choose not to save their payment information, they will not be able to make automatic payments.
Importante
Building an eCommerce website requires the Website app.
What happens if an automatic payment fails?¶
When an automatic payment fails, the sales order is updated with:
a Payment Failure tag
the Contract in exception checkbox ticked (in the Subscription section of the Other Info tab).
Marcar un contrato como Contrato como excepción impide la ejecución de las acciones programadas, evitando así que el sistema cobre dos veces al cliente si el pago automático sí se procesó. Como el estado del pago no se registró de forma correcta, los usuarios deben verificar manualmente si el pago se realizó antes de reanudar los pagos automáticos y las demás acciones programadas.
Para ello, ve a . Haz clic en la suscripción deseada y revisa el chatter para verificar si se realizó el pago.
Si el pago no se realizó, primero activa el modo de desarrollador. Luego, haz clic en la pestaña Otra información y desmarca la casilla junto a Contrato con excepción. Actualiza la orden de venta y confirma que la etiqueta Pago fallido haya desaparecido.
Si el pago ya se realizó, es necesario crear una nueva factura y registrarla de forma manual. Esto actualizará la próxima fecha de factura de la suscripción en automático. Una vez creada la factura, activa el modo de desarrollador y dirígete a la nueva orden de venta. Haz clic en la pestaña Otra información y desmarca la casilla junto a Contrato con excepción. Actualiza la orden de venta y revisa que la etiqueta Pago fallido ya no aparezca.
La opción Contrato con excepción seleccionada con la etiqueta Pago fallido visible.
En ambos casos, una vez que la casilla Contrato con excepción ya no esté seleccionada, Odoo volverá a gestionar las renovaciones de forma automática. Si la suscripción sigue en estado Pago fallido, Odoo la ignorará hasta que la orden de venta esté cerrada.
Ver también