CyberKrypts / moodle-razorpay-payment-plugin

This plugin provides Razorpay payment gateway integration for moodle
2 stars 3 forks source link

Documentation on integration with Moodle #1

Open ugenkudupudi opened 3 years ago

ugenkudupudi commented 3 years ago

Hello Folks

Is it possible to have integration documentation similar to the below page??

https://developer.paytm.com/docs/moodle

thelonewolf123 commented 3 years ago

Hello,

we developed this plugin for our own purpose, we weren't created any integration docs. But we'll try to include it as soon as posible.

Using this plugin is really easy. First, you need to generate API keys from the Razorpay website. follow this doc: https://razorpay.com/docs/api Then download the moodle-razorpay-payment-plugin from releases. follow this doc to install it, https://docs.moodle.org/310/en/Installing_plugins

After installation, just add your key ID and secret key to the plugin settings.

ugenkudupudi commented 3 years ago

Yup. it's pretty easy to install and use.

I tested on a demo site.

Will it be possible to extend the plugin to send invoices also? Razorpay also has an invoicing module within its SDK.

You should also explore the idea of listing this plugin in Moodle Marketplace too.

ajeducation commented 5 months ago

I tried this plugin on Moodle 3.1 with test API keys, but it gave an error authentication failed. Can you help Stack trace: line 123 of /enrol/razorpay/razorpay-php/src/Request.php: Razorpay\Api\Errors\BadRequestError thrown line 90 of /enrol/razorpay/razorpay-php/src/Request.php: call to Razorpay\Api\Request->processError() line 44 of /enrol/razorpay/razorpay-php/src/Request.php: call to Razorpay\Api\Request->checkErrors() line 59 of /enrol/razorpay/razorpay-php/src/Entity.php: call to Razorpay\Api\Request->request() line 15 of /enrol/razorpay/razorpay-php/src/Entity.php: call to Razorpay\Api\Entity->request() line 12 of /enrol/razorpay/razorpay-php/src/Order.php: call to Razorpay\Api\Entity->create() line 54 of /enrol/razorpay/enrol.php: call to Razorpay\Api\Order->create() line 268 of /enrol/razorpay/lib.php: call to include() line 77 of /enrol/index.php: call to enrol_razorpay_plugin->enrol_page_hook()