This version includes the Culqi payment gateway and introduces an additional option to show the Buy Courses tab to anonymous users.
To enable these features, if you have already installed this plugin on your portal prior to this version, you will need to add the corresponding settings to your settings_current table. No documentation is available at this time on how to do that, so please check up the code. Sorry about that.
This version has been fixed and improved for Chamilo LMS 1.10.x.
##Changes in database structure
The database structure has been changed totally. The previous database structure was formed for the tables:
plugin_buy_course
The registered courses in the platformplugin_buy_course_country
The list of countries with their currenciesplugin_buy_course_paypal
The PayPal account infoplugin_buy_course_sale
The sales of courses that were madeplugin_buy_course_temporal
The pending orders of courses that were madeplugin_buy_course_transfer
The bank accounts for transfersplugin_buy_session
The registered courses in the platformplugin_buy_session_course
The courses in sessionsplugin_buy_session_sale
The sales of session that were madeplugin_buy_session_temporary
The pending orders of session that were madeTo avoid the data redundancy, the plugin_buy_course
, plugin_buy_session
and plugin_buy_session_course
tables were replaced for the
plugin_buycourses_item
table. And the plugin_buy_course_sale
,
plugin_buy_course_temporal
, plugin_buy_session_sale
and
plugin_buy_session_temporary
tables were replaced for the
plugin_buycourses_item
table.
The new database structure is formed for the tables:
plugin_buycourses_currency
The list of countries with their currenciesplugin_buycourses_item
The registered courses and sessions in the platformplugin_buycourses_item_re_beneficiary
The beneficiaries users with the sale of coursesplugin_buycourses_paypal_account
The PayPal account infoplugin_buycourses_sale
The sales of courses and sessions that were madeplugin_buycourses_transfer
The bank accounts for transfersThis version adds support for sales of sessions access. A session can be purchased as soon as it is given a price, granted the current date is either previous to the session start date, between the start and end, or no date has been defined for the session. Students are subscribed automatically once they have paid. There is no intermediary step. This version does not work (yet) with the session period defined by user (a special feature introduced in Chamilo 1.9.10).
If you are working with this plugin since earlier versions, you will have to look at the installer to fix your plugin tables (add a few fields).
This is the first release of the plugin, with only the PayPal payment method in working state and only for courses.