Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Python wrapper for the MultiSafepay API. The version prior 18/09/2019 is moved to the 'mini-multisafepay' package.
This wrapper simplifies working with the MultiSafepay API and allows you to integrate MultiSafepay within your Python application.
MultiSafepay is a collecting payment service provider which means we take care of the agreements, technical details and payment collection required for each payment method. You can start selling online today and manage all your transactions from one place.
Clone this git repository or install the package with pip.
The following command can be used to install the latest released version of the client:
pip install multisafepay
Setup the client for testing
from multisafepay.client import Client
msp_client = Client()
msp_client.set_modus('TEST')
msp_client.set_api_key('REPLACE WITH API KEY')
Creating a test order
# The following code will create a iDEAL order
print(msp_client.order.create({
"type": msp_client.ordertype.REDIRECT,
"order_id": "my-order-id-1",
"gateway": msp_client.paymentmethod.IDEAL,
"currency": "EUR",
"amount": "1000",
"description": "Test Order Description",
"payment_options": {
"notification_url": "https://www.example.com/client/notification?type=notification",
"redirect_url": "https://www.example.com/client/notification?type=redirect",
"cancel_url": "https://www.example.com/client/notification?type=cancel"
},
"customer": {
"locale": "en_US"
}
}))
Click here for more examples.
If you have any issues, problems or questions you can create an issue on this repository or contact us at integration@multisafepay.com
If you spot mistakes or want to contribute in improving this wrapper, feel free to create pull requests
Click here for the MultiSafepay API documentation.
FAQs
Python wrapper for the MultiSafepay API. The version prior 18/09/2019 is moved to the 'mini-multisafepay' package.
We found that multisafepay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.