Metadata-Version: 1.1
Name: multisafepay
Version: 0.2.0
Summary: Python wrapper for the MultiSafepay API. The version prior 18/09/2019 is moved to the 'mini-multisafepay' package.
Home-page: https://github.com/MultiSafepay/multisafepay-python-wrapper
Author: MultiSafepay
Author-email: integration@multisafepay.com
License: MIT
Description-Content-Type: text/markdown
Description: <p align="center">
          <img src="https://www.multisafepay.com/img/multisafepaylogo.svg" width="400px" position="center">
        </p>
        
        # Python wrapper for the MultiSafepay API
        This wrapper simplifies working with the MultiSafepay API and allows you to integrate MultiSafepay within your Python application.
        ## About MultiSafepay ##
        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.
        ## Requirements
        - To use the wrapper you need a MultiSafepay account. You can create a test account on https://testmerchant.multisafepay.com/signup
        - Python 3.6 or higher
        - Packages: requests
        ## Installation
        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:
        ```python
        pip install multisafepay
        ```
        ## Usage
        Setup the client for testing
        ```python
        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 
        ```python
        # 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](https://github.com/MultiSafepay/multisafepay-python-wrapper/tree/master/multisafepay/examples) for more examples.
        ## Support
        If you have any issues, problems or questions you can create an issue on this repository or contact us at <a href="mailto:integration@multisafepay.com">integration@multisafepay.com</a>
        
        ## Mistakes and improvements 
        If you spot mistakes or want to contribute in improving this wrapper, feel free to [create pull requests](https://github.com/MultiSafepay/multisafepay-python-wrapper/pulls)
        
        ## API Documentation
        [Click here](https://docs.multisafepay.com/api/) for the MultiSafepay API documentation.
        ## License
        [MIT License](https://github.com/MultiSafepay/multisafepay-python-wrapper/blob/master/LICENSE)
        
Keywords: multisafepay,wrapper,payment,gateway,ideal,paypal,creditcard,gift cards,sofort banking
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
