Skip to content

Commit 202cf98

Browse files
committed
Plugin: update BuyCourses from 1.11.x #2562
1 parent d665b75 commit 202cf98

File tree

112 files changed

+9651
-1339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+9651
-1339
lines changed

public/plugin/BuyCourses/CHANGELOG.md

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
v7.4 - 2022-04-28
2+
====
3+
Add subscriptions support.
4+
5+
If the plugin has already been installed, the update.php script must be executed (load plugin/BuyCourses/update.php in your browser) to update the database structure by adding the plugin_buycourses_subscription, plugin_buycourses_subscription_rel_sale, plugin_buycourses_subscription_period and plugin_buycourses_coupon_rel_subscription_sale.
6+
7+
v7.3 - 2022-04-28
8+
====
9+
Add Cecabank payments support.
10+
11+
If the plugin has already been installed, the update.php script must be executed (load plugin/BuyCourses/update.php in your browser) to update the structure of the tables in the database.
12+
13+
v7.2 - 2021-11-22
14+
====
15+
Add Stripe payments support.
16+
17+
If the plugin has already been installed, the update.php script must be executed (load plugin/BuyCourses/update.php in your browser) to update the structure of the tables in the database.
18+
19+
v7.1 - 2021-10-26
20+
====
21+
Fix install issue with DB field type.
22+
23+
v7.0 - 2021-08-12
24+
====
25+
Added support for discount coupons.
26+
Added a better table view for the sales report.
27+
Multiple fixes to navigation-related issues.
28+
29+
WARNING: Updating this plugin (or Chamilo) without going through the specific update procedure for this plugin will break your sales pages.
30+
31+
The file [your-host]/plugin/BuyCourses/update.php *MUST* be executed to update the structure of the tables
32+
in the database.
33+
34+
v6.0 - 2020-11-29
35+
====
36+
Added support for purchase instructions e-mail customization (although this
37+
does not support multiple languages at the moment).
38+
This requires changes to the DB tables:
39+
```sql
40+
ALTER TABLE plugin_buycourses_global_config ADD COLUMN info_email_extra TEXT;
41+
```
42+
143
v5.0 - 2019-02-06
244
====
345

@@ -11,12 +53,12 @@ The file update.php must be executed to update the structure of the tables
1153
v4.0 - 2017-04-25
1254
====
1355

14-
This version includes the Culqi payment gateway and introduces an additional
15-
option to show the Buy Courses tab to anonymous users.
56+
This version includes the Culqi payment gateway v1.0 (now expired) and introduces
57+
an additional option to show the Buy Courses tab to anonymous users.
1658

1759
To enable these features, if you have already installed this plugin on your
18-
portal prior to this version, you will need to add the corresponding configuration
19-
to your access_url_rel_plugin table. No documentation is available at this time on
60+
portal prior to this version, you will need to add the corresponding settings
61+
to your settings_current table. No documentation is available at this time on
2062
how to do that, so please check up the code. Sorry about that.
2163

2264

public/plugin/BuyCourses/README.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,37 @@
1-
Buy Courses plugin for Chamilo LMS
2-
=======================================
3-
Users can access the purchases catalog to buy courses or sessions (since v2 of this plugin)
4-
enabled for sale.
1+
Buy Courses (course sales) plugin
2+
=================================
3+
This plugin transforms your Chamilo installation in an online shop by adding a catalogue
4+
of courses and sessions that you have previously configured for sales.
55

66
If the user is not registered or logged in, he/she will be requested to register/login
77
before he/she can resume buying items.
88

9-
Once the course or session is chosen, shows available payment types (currently only PayPal works)
9+
Do not enable this plugin in any "Region". This is a known issue, but it works without
10+
region assignation.
11+
12+
Once the course or session is chosen, the plugin displays the available payment methods
1013
and lets the user proceed with the purchase.
14+
Currently, the plugin allows users to pay through:
15+
- PayPal (requires a merchant account on PayPal at configuration time)
16+
- Bank payments (requires manual confirmation of payments' reception)
17+
- RedSys payments (Spanish payment gateway) (requires the download of an external file)
18+
- Stripe payments (requieres a merchant account oin Stripe at configuration time)
19+
- Cecabank payments (Spanish payment gateway)
20+
21+
The user receives an e-mail confirming the purchase and she/he can immediately
22+
access to the course or session.
23+
24+
We recommend using sessions as this gives you more time-related availability options
25+
(in the session configuration).
26+
27+
Updates
28+
=========
29+
30+
You must load the update.php script for installations that were in
31+
production before updating the code, as it will update the database structure to
32+
enable new features.
33+
34+
Please note that updating Chamilo does *NOT* automatically update the plugins
35+
structure.
1136

12-
Finally, the user receives an e-mail confirming the purchase and him/her is can access to the
13-
course/session.
37+
You can find a history of changes in the [CHANGELOG.md file](../../plugin/BuyCourses/CHANGELOG.md)

0 commit comments

Comments
 (0)