Package release
ocyan-plugin-payment-mollie-recurrent
mandel/testing · Version 0.2.0
Mollie recurring-payment adapter for Ocyan Oscar.
Metadata
| description_content_type | text/x-rst |
|---|---|
| metadata_version | 2.4 |
| provides_extras |
|
| requires_dist |
|
| requires_python | <3.14,>=3.10 |
Release files
| File | Test results | History |
|---|---|---|
ocyan_plugin_payment_mollie_recurrent-0.2.0-py3-none-any.whl
|
|
|
ocyan_plugin_payment_mollie_recurrent-0.2.0.tar.gz
|
|
About payment_mollie_recurrent
payment_mollie_recurrent
Installation
Add ocyan.plugin.payment_mollie_recurrent to your projects dependencies.
This package is the Oscar/Mollie recurring-payment adapter. It owns payment and subscription lifecycle integration, while Mollie remains the system of record for payment state. It uses Mollie’s current customer-scoped v2 Subscriptions API through ocyan.mollie and passes deterministic idempotency keys for subscription creation retries.
The plugin does not store or expose Mollie credentials, perform live calls during certification, or decide business-specific tax, marketing, or order automation policy. Configure the API key through the MandelBlog secret/config boundary. Mollie webhooks must be reachable over HTTPS and are processed by fetching the current remote object; callers should treat webhook delivery as retryable and idempotent.
Stable provider contract
MollieRecurrentPayment.create_subscriptions resolves the configured customer and creates a v2 subscription with a stable idempotency key. Payment and subscription responses are persisted through the existing Oscar models. The maintained deterministic certification tests mock the shared provider boundary; no paid Mollie account or customer data is required.
Make sure that your product_classes (product type) have the following fields: > MOLLIE_TIMES (as integer) > MOLLIE_INTERVAL (as integer)
Assign the values to those attributes. Example > MOLLIE_TIMES = 12 > MOLLIE_INTERVAL = 1
MOLLIE_TIMES & MOLLIE_INTERVAL
MOLLIE_TIMES: how many times do we need to collect the payment? MOLLIE_INTERVAL: how long does each time have to wait on the next payment? For example 4 times every 3 months, starting today.