Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buy course plugin : 404 error when confirming order with a discount coupon #5581

Open
losbit opened this issue Jun 10, 2024 · 0 comments
Open
Labels
Milestone

Comments

@losbit
Copy link

losbit commented Jun 10, 2024

Describe
When a student uses a coupon in a course and confirm the order with any payment method gets a 404 error in https://{domain}/plugin/buycourses/src/process.php

To Reproduce
Steps to reproduce the behaviour:

  1. Go to course catalogue
  2. Click on a course which costs $10 (for example)
  3. Apply a $10 or any coupon to get a total or partial discount
  4. Then click on Confirm order with any payment method in https://{domain}/plugin/buycourses/src/process.php?i=1&t=1&c=free
  5. A 404 Not Found error page is displayed in https://{domain}/plugin/buycourses/src/process.php

Expected behaviour
To process the purchase with a $0 or partial cost.

Screenshots
No screenshots necessary.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome, Firefox, safari, Edge

**Server

  • OS: Debian GNU/Linux 11}
  • nginx/1.24.0
  • Version of Chamilo: 1.11.26
  • Version of PHP: 7.4.33

Additional context
Rewrite in nginx is well configured as in https://11.chamilo.org/documentation/installation_guide.html#16._Rewrite
There are no other problems in Chamilo LMS.

@losbit losbit changed the title Buy course plugin : 404 error when confirming order with a 100% discount coupon Buy course plugin : 404 error when confirming order with a discount coupon Jun 10, 2024
@ywarnier ywarnier added this to the 1.11.28 milestone Jul 6, 2024
@ywarnier ywarnier added the Bug label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants