Moodle Plugins directory: LibraPay | Moodle.org
LibraPay
LibraPay is a Moodle payment gateway plugin for Libra Internet Bank, enabling Romanian educational institutions to accept card
payments in RON (Romanian Leu) for course enrolments and other Moodle payment areas.
Features:
- Accept Visa/Mastercard payments via LibraPay
- RON currency support
- Test/sandbox mode for development
- Automatic email and Moodle notification receipts
- Secure P_SIGN signature validation (HMAC-SHA1)
- GDPR compliant with full privacy provider
- Support for synchronous (BACKREF) and asynchronous (IPN) callbacks
- English and Romanian language support
== Installation ==
1. Download and extract to /payment/gateway/librapay/
2. Visit Site Administration > Notifications to install
3. Go to Site Administration > Plugins > Payment gateways > Manage payment gateways
4. Enable LibraPay
== Configuration ==
1. Go to Site Administration > Payments > Payment accounts
2. Create a new payment account
3. Click the LibraPay gear icon and enter your credentials:
- Terminal ID: 8-digit terminal identifier from LibraPay
- Merchant ID: 15-digit merchant ID (format: 0000000 + Terminal)
- Merchant name: Your business name
- Merchant URL: Your website URL
- Email: For payment notifications
- Encryption key: 32-character hex key for P_SIGN
== Adding Payment to a Course ==
1. Go to your course > Participants > Enrolment methods
2. Add "Enrolment on payment"
3. Select your payment account
4. Set the price and currency (RON)
5. Save changes
== Testing ==
Enable "Test mode" in gateway settings, then use:
- Test card: 4111111111111111
- Expiry: Any future date
- CVV: 123
- Select "Tranzactie Aprobata" for approved transaction
Comments