Flask-Mercadopago

GitHub issues GitHub forks GitHub stars GitHub license GitHub contributors Code style

Features

  • A features.

Requirements

  • Python 3.8+

Dependecies for this project.

Intallation

You can install via pip:

$> pip install Flask-Mercadopago

Example

Register the extension:

from flask import Flask
# To follow the naming rule of Flask extension, although
# this project's name is Flask-Mercadopago, the actual package
# installed is named `flask_mercadopago`.
from flask_mercadopago import Mercadopago
app = Flask(__name__)
mercadopago = Mercadopago(app)

Now with the render_ui_form macro:

<html>
<head>
     <!-- Mercado Pago SDK JS -->
     {{ merccadopago.load_js() }}
 </head>
 <body>
     <h2>Login</h2>
 </body>
 </html>

Read the Basic Usage docs for more details.

Authors

  • Ferreira, Juan David

Please submit bug reports, suggestions for improvements and patches via the (E-mail: juandavid9a0@gmail.com).

Contributors

Credits goes to these peoples:

Official repository and Issues

License

Flask-Mercadopago is free software you can redistribute it and/or modify it under the terms of the MIT License. For more information, you can see the LICENSE file for details.