Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A Python package for easy integration with the UnitedPayment API, simplifying payment processing and transaction management. It offers a user-friendly interface, comprehensive documentation, and built-in tests, making integration effortless for developers.
A Python package for integrating with the UnitedPayment API, allowing easy access to payment functionalities like checkout, card registration, transaction status, and more.
You can install the package via pip. Run the following command:
pip install united_payment
To use the UnitedPayment API package, first import the main class and initialize it with your credentials:
from united_payment.client import UnitedPaymentAPI, Language, Currency
# Initialize the API client
api = UnitedPaymentAPI(
base_url='https://test-vpos.unitedpayment.az/api',
email='support@unitedpayment.com',
password='Testmerchant12!'
)
Here's how to perform a checkout:
response = api.checkout(
amount='100',
language=Language.EN,
success_url='https://success.url',
cancel_url='https://cancel.url',
decline_url='https://decline.url',
currency=Currency.AZN
)
print(response)
For detailed API documentation, refer to the following link: UnitedPayment API Documentation
To run the tests, use the following command:
python -m unittest discover -s tests
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.
FAQs
A Python package for easy integration with the UnitedPayment API, simplifying payment processing and transaction management. It offers a user-friendly interface, comprehensive documentation, and built-in tests, making integration effortless for developers.
We found that united-payment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.