-
Notifications
You must be signed in to change notification settings - Fork 50
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
Error in Payment page #65
Comments
Yes, you can run test environment locally with |
Hi @johnny77221 could you please mention the steps to regenerate this issue? |
first, I installed and enabled plugins: tutor plugins enable discovery ecommerce mfe after above steps, the config needs to change in Home/Core/Site configurations: http://ecommerce.local.edly.io/admin/core/siteconfiguration/ the payment page should be /payment/ the slash in the end is required or it will display a blank page when added to cart after above steps, user can add a paid course into cart and change payment URL again (this seems required every time after tutor local launch) |
It seems pyJWT version had a breaking change after 1.7.1, here is a similar problem in azure sdk also I looked up https://github.com/openedx/ecommerce-worker |
I tried to fork both tutor-ecommerce and ecommerce repo to specify algorithm in line 225 of cybersource.py in Ecommerce repo I changed to seems they used some algorithm but I didn't know for decoding |
Hi @johnny77221 ,
I tried running tutor-ecommerce and payment mfe in |
Hi, I am using following versions (from pip freeze) in your screenshot, there is an error message about "unexpected problem", and that's the problem |
It seems need to modify Ecommerce repo openedx/ecommerce@open-release/quince.master...johnny77221:ecommerce:open-release/quince.master |
Hi @johnny77221, |
Hi @johnny77221, Thanks for this awesome explanation!
Your above solution worked as well as it resolved decoding issue. Hello @regisb, Can you look at his PR. It is closed without being merged although it resolved the above decoding error. |
The upstream PR openedx/ecommerce#4138 has been merged, this should be good to close now. |
Hello
I followed this https://overhang.io/tutor/plugin/ecommerce page to setup with cybersource sandbox keys
in the payment page, Its showing error HTTP 400 for http://ecommerce.local.edly.io/bff/payment/v0/capture-context/
and tutor local logs Ecommerce shows these message:
would you have idea how to fix this?
is it able to run a test environment in development (local.edly.io) mode? or it just need to be a production server?
The text was updated successfully, but these errors were encountered: