Getting server error in ecommerce tutor plugin

I am getting server error in ecommerce.

I installed an e-commerce plugin. https://github.com/overhangio/tutor-ecommerce

I created a new course in Studio and e-commerce. http://ecommerce.local.edly.io/courses/

I saw the course upgrade button in Learning MFE.

But when I click the upgrade button, it redirects to e-commerce and results in a server error.


Does anyone have any idea about this error?? Did I miss anything? Your help would be greatly appreciated. Thank you in advance!

It seems from the logs that it complains that there are no certficate for the course since it’s is verifed, I would say try eiter:
1- create course of type Professional Education (which doesn’t require certfiacte) ref in ecommerce after deleting the one you created of type Verfied
2- Create certficate of the course

Also note there is payment MFE, that is responsbile for that view, I think after installing the ecommerce, you would have to rebuild the MFE image and restart the services for it to show up.

@ghassan Thank you for your response.

I tried with both Professional Education and Verified Mode, with the certificate enabled, but I’m encountering the same problem.

Do you have any idea about this error? Did I miss anythings?

Have you tried rebuilding the MFE image, tutor images build mfe, because again that endpoint suppose to be served by payment mfe, which gets enabled after you install the ecommerce plugin but you would have to rebuild the mfe image.

Thank you @ghassan You are right. I did tutor images build mfe and it’s works.

The problem was that I tried to set it up in the Tutor Quince version, which caused many errors. After setting it up in the latest version of Tutor, it’s now working.

but now I am getting this problem.

my payment page isn’t working as expected. Do you know about this issue?