@kribby can you please tell us more about your configuration ?
Are you using devstack (master branch) or production (open-release/ironwood.master branch) ?
there are lots of changes in code, installed packages and configuration files so it’s important to point your exact configuration.
hi @kribby, hope you are doing great. Have you successfully integrated paypal?
If so can you please put on the steps to do so? I’ve set up the ecommerce site successfully and wanted to integrate paypal payment? I’ve not found the doc clear enough on where to do the required steps.
Thanks!
Enable E-commerce from LMS admin
a. http://example.com/admin/commerce/commerceconfiguration/ :
b. Enabled: True
c. Checkout on ecommerce service: True
d. Basket checkout page: /basket/add/
e. Cache Time To Live: 0
f. Receipt page: /checkout/receipt/?order_number=
g. Enable automatic refund approval: True
h. save
Configure E-commerce:
a. sudo -H -u ecommerce bash
b. source ~/ecommerce_env
c. cd ~/ecommerce/
d. ./manage.py makemigrations
e. ./manage.py migrate
f. ./manage.py create_or_update_site
–site-id=1 \ # You can get this id from step 2.a
–site-domain=http://example.com:18130 \ # it is important to not include the http:// or https://
–partner-code=edX
–partner-name=‘Open edX’
–lms-url-root=http://example.com
–payment-processors=cybersource,paypal
–client-id= \ # You can get it from step 1.b
–client-secret= \ # You can get it from step 1.b --from-email=user@example.com
–discovery_api_url=http://example.com:18381
Make sure ecommerce_worker user is staff and superuser.
This is about E-commerce setup.
Set Course price in E-commerce:
Create seat products for individual course runs of a course, do the following in the Course Administration Tool (in Ecommerce)
a. http://example.com:18130/courses/
b. Select Add new course
c. Assign the “Course ID” from the Studio course creation step
d. Fill in the information including price
f. Enter valid enrollment deadline and verification dates (typically good to set these close to the course end date)
g. Save the Changes
h. Verify the course has an upgrade to Verified option in the LMS Dashboard
hey @kribby I just saw the reply, I’ve not found solution yet. Thanks for the help though!
So In the steps You have put above, the first problem I encountered was this ( http://example.com/admin/oauth2/client/ ) does not exist on my instance, I am not sure if this is related to the version of the open edx. I am running Openedx/juniper release and the page that resembles the inputs is found on this url for me https://example.com/admin/oauth2_provider/application/ and this is the page
And when I try to create the “application” as reffered in the platform , It gave me the following error on the User field: Select a valid choice. That choice is not one of the available choices.
What do you think is the problem?