Flask-Mercadopago¶
Features¶
A features.
Requirements¶
Python 3.8+
Dependecies for this project.¶
Flask(>=2.0.1) for build the backend.
Requests(>=2.28.1) for build the backend.
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).