-
Couldn't load subscription status.
- Fork 18
#28 Feat/orange adapter #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Hi @SEEDART007, thank you for contribbuutions! |
There was a problem hiding this 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.integratorsfolder - Add a comprehensive unit test for the new Adapter
- Add a step by step usage examples under
examples/your_adapter.py
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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.