enrol mpcheckoutpro: Difference between revisions
From MoodleDocs
No edit summary |
|||
| Line 14: | Line 14: | ||
== '''Installation Guide:''' == | == '''Installation Guide:''' == | ||
=== Requirements: === | |||
* Your moodle have run in linux server | |||
* You need install sdk for mercadopago checkout pro | |||
* You need install composer for php | |||
=== Steps: === | |||
# Download the composer in your linux operative system ('''you never install components in public directory''', by default the public access for externals /var/www/html) | |||
## Go to www directory: <syntaxhighlight lang="bash"> | |||
cd /var/www/ | |||
</syntaxhighlight> | |||
## Go to composer install: https://getcomposer.org/download/ and | |||
# sdf | |||
=== Moodle Plugin Page === | |||
---- | |||
# '''Upload the Plugin:''' In your Moodle site as an administrator, navigate to ''Site administration > Notifications''. Upload the plugin ZIP file. Choose the plugin type "Enrolment method (enrol)". Accept the acknowledgement and install. | # '''Upload the Plugin:''' In your Moodle site as an administrator, navigate to ''Site administration > Notifications''. Upload the plugin ZIP file. Choose the plugin type "Enrolment method (enrol)". Accept the acknowledgement and install. | ||
# '''Enable the Plugin:''' Go to ''Site administration > Plugins > Enrolments > Manage enrol plugins'' and enable "Mercadopago". | # '''Enable the Plugin:''' Go to ''Site administration > Plugins > Enrolments > Manage enrol plugins'' and enable "Mercadopago". | ||
| Line 19: | Line 37: | ||
# '''Add to Course:''' Navigate to the desired course, then go to ''Course administration > Users > Enrolment methods''. Choose "Mercadopago" from the dropdown menu. | # '''Add to Course:''' Navigate to the desired course, then go to ''Course administration > Users > Enrolment methods''. Choose "Mercadopago" from the dropdown menu. | ||
# '''Configure Enrolment Instance:''' Set a custom instance name, enrolment cost, and any other relevant options, such as the enrolment duration. Save changes. | # '''Configure Enrolment Instance:''' Set a custom instance name, enrolment cost, and any other relevant options, such as the enrolment duration. Save changes. | ||
== '''User Experience:''' == | == '''User Experience:''' == | ||
Registered users can now view and access the course after successfully completing payment through the Mercadopago gateway. | Registered users can now view and access the course after successfully completing payment through the Mercadopago gateway. | ||
Revision as of 16:50, 26 January 2025
Mercadopago Payment Gateway Enrolment Plugin
This plugin allows integration with Mercadopago, a popular payment gateway, to manage paid course enrolments within Moodle. It provides a seamless enrolment experience for users while offering administrators a flexible and easy-to-configure payment solution.
Key Features:
- Seamless Integration: Connects Moodle with Mercadopago for automated payment processing and enrolment.
- Flexible Configuration: Supports both development and production environments with customizable settings.
- Secure Transactions: Leverages Mercadopago's secure platform for handling financial transactions.
- Easy Setup: Simple installation and configuration process through Moodle's administrative interface.
- Customizable Enrolment Options: Allows setting custom instance names, enrolment costs, and enrolment periods.
Supported Moodle Versions: 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
Installation Guide:
Requirements:
- Your moodle have run in linux server
- You need install sdk for mercadopago checkout pro
- You need install composer for php
Steps:
- Download the composer in your linux operative system (you never install components in public directory, by default the public access for externals /var/www/html)
- Go to www directory:
cd /var/www/
- Go to composer install: https://getcomposer.org/download/ and
- Go to www directory:
- sdf
Moodle Plugin Page
- Upload the Plugin: In your Moodle site as an administrator, navigate to Site administration > Notifications. Upload the plugin ZIP file. Choose the plugin type "Enrolment method (enrol)". Accept the acknowledgement and install.
- Enable the Plugin: Go to Site administration > Plugins > Enrolments > Manage enrol plugins and enable "Mercadopago".
- Configure Settings: Click the settings icon for the Mercadopago plugin. Enter your Mercadopago merchant credentials and configure any desired options. Save changes.
- Add to Course: Navigate to the desired course, then go to Course administration > Users > Enrolment methods. Choose "Mercadopago" from the dropdown menu.
- Configure Enrolment Instance: Set a custom instance name, enrolment cost, and any other relevant options, such as the enrolment duration. Save changes.
User Experience:
Registered users can now view and access the course after successfully completing payment through the Mercadopago gateway.
The users will view your status in the platform
Error with payment:
When payment is failed, the user receive message for contact support or wait to the payment is accredited
Payment pending:
When payment wait to check with mercado pago account.

Payment success:
When payment is accredited
