Skip to content

Conversation

@SEEDART007
Copy link

The Orange Money Adapter adds full support for Orange Money mobile payments within the EasySwitch SDK ,enabling developers to accept and send payments across 17 African countries through a single, unified interface.
This adapter simplifies working with Orange’s country-specific APIs (e.g., Senegal, Côte d’Ivoire, Mali) while maintaining consistent authentication, request handling, and webhook validation.

@Einswilli
Copy link
Collaborator

Hi @SEEDART007, thank you for contribbuutions!
Will revieew your PR soon.

Copy link
Collaborator

@Einswilli Einswilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRs must:

  • Add an Adapter under easyswitch.integrators folder
  • Add a comprehensive unit test for the new Adapter
  • Add a step by step usage examples under examples/your_adapter.py

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this file from this PR.

from typing import Dict, Any, List, Optional


class OrangeMoneyAdapter:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EasySwitch Adapters must be instances of easyswitch.adapters.BaseAdapter class and follow its rules.
New Adapters must bee added under easyswitch.integrators folder.

Please take a look at https://alldotpy.github.io/EasySwitch/api-reference/base-adapter/ or explore existing adapters (easyswitch.integrators folder) for more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We recommand using pytest module for tests.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We recommand using pytest module for tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants