Metadata-Version: 2.4
Name: ocyan.plugin.payment_omnikassa
Version: 0.2.0
Summary: Oscar payment integration for Rabobank Rabo Smart Pay / Omnikassa.
Author-email: Motolani Olaiya <motolaniolaiya@gmail.com>
Classifier: License :: Other/Proprietary License
Classifier: Framework :: Ocyan
Classifier: Environment :: Plugins
Requires-Python: <3.14,>=3.10
Description-Content-Type: text/markdown
Requires-Dist: ocyan.core<2,>=1.2.14
Requires-Dist: ocyan.plugin.oscar<3,>=2.0.5
Requires-Dist: ocyan.plugin.oscar_checkout<2,>=1.3.3
Requires-Dist: requests<3,>=2.31
Provides-Extra: test
Requires-Dist: ocyan.plugin.testing; extra == "test"
Requires-Dist: wheel; extra == "test"
Requires-Dist: empty_testproject; extra == "test"
Requires-Dist: pylint-django; extra == "test"
Requires-Dist: ruff; extra == "test"
Requires-Dist: coverage; extra == "test"
Requires-Dist: responses; extra == "test"

# Ocyan plugin payment_omnikassa

This package owns the Oscar/Rabo Smart Pay (Omnikassa) payment boundary: order
announcement, redirect initiation, signed return handling, status retrieval,
and idempotent mapping of provider statuses into the established Oscar payment
pipeline. It does not own provider credentials, tax decisions, order pricing,
or live payment certification traffic.

The supported provider contract is the Rabo Smart Pay Online Payment API. The
current documented endpoints include the gatekeeper refresh, v2 order
creation, and merchant order status event result APIs. Provider credentials
must be supplied through the MandelBlog configuration/secret mechanism and
must never be committed.

## Installation
------------
Add `ocyan.plugin.payment_omnikassa` to your projects dependencies.

## Usage
-------------
Payment provider 

## Configuration
Settings you need to configure in x.json

* refresh_token 
    * Can be found on Rabobank dashboard
* signing_key
    * Can be found on Rabobank dashboard
* testmode
    * Enable the test api, defaults to true and can be turned on by filling in "1" here.

The following payment methods can be set to true if you want to use them in your site, they all default to false.
    * IDEAL
    * BANCONTACT
    * MASTERCARD
    * MAESTRO
    * PAYPAL
    * VISA
    * V_PAY


Example configuration: 

```json
"payment_omnikassa": {
  "refresh_token": "",
  "signing_key": "",
  "IDEAL": true,
  "BANCONTACT": true,
  "MASTERCARD": false,
  "MAESTRO": true,
  "PAYPAL": false,
  "VISA": false,
  "V_PAY": false,
  "testmode": 1 ,
},
```
