customers don't utilize the ecommerce site via <site>:18130, but instead 
through the LMS. The interfaces for course-level administrative use is 
<site>:18130/courses and <site>:18130/coupons.

As for the other questions, EDX_API_KEY needs to be the same as what is 
found in your lms.env.json file. Not sure about secret key. When I was 
configuring my setup, I didn't change it.

Are you also installing this on a virtual machine local to your computer? 
I'm not sure how the port forwarding in and out of the VM in that situation 
would differ from setting it up on AWS.

Another observation-- check the IP and ports on the paypal configuration 
since that is url that paypal will return users in the cancel, error, and 
receipt states.

On Friday, September 30, 2016 at 11:14:02 AM UTC-4, truong nguyen wrote:
>
>
> <https://lh3.googleusercontent.com/-fEIj-6n0rCs/V-6BK-AsEII/AAAAAAAAADk/fiKzU71Td1onP3H-M68iNfYumXxNJW62gCLcB/s1600/ecommerce.png>
> This is my ecommerce site
>
>
>
>
>
>
>
> Vào 21:18:12 UTC+7 Thứ Sáu, ngày 30 tháng 9 năm 2016, truong nguyen đã 
> viết:
>>
>> I installed E-commerce (I using native installation)
>> I follow the instruction :
>>
>> https://openedx.atlassian.net/wiki/display/OpenOPS/How+to+Install+and+Start+the+E-Commerce+Service+in+Native+Installations
>> I checked,I have installed E-commerce service successfully.But When I 
>> browser to* http://localhost:18130 <http://localhost:18130>* (E-commerce 
>> site) it display 
>> *:NOT FOUND*This is my *ecommerce.yml* file (/edx/etc/ecommerce.yml):
>> # This file is created and updated by ansible, edit at your peril
>>
>> AFFILIATE_COOKIE_KEY: dev_affiliate_id
>> BROKER_URL: amqp://celery:celery@10.0.2.15:5672
>> *COMMERCE_API_URL: http://localhost:80/api/commerce/v1/ 
>> <http://localhost:80/api/commerce/v1/>*
>> COMPREHENSIVE_THEME_DIRS: null
>> *COURSE_CATALOG_API_URL: http://localhost:8008/api/v1/ 
>> <http://localhost:8008/api/v1/>*
>> DATABASES:
>>     default:
>>         ATOMIC_REQUESTS: true
>>         CONN_MAX_AGE: 60
>>         ENGINE: django.db.backends.mysql
>>         HOST: localhost
>>         NAME: ecommerce
>>         PASSWORD: password
>>         PORT: '3306'
>>         USER: ecomm001
>> DATABASE_OPTIONS:
>>     connect_timeout: 10
>> DEFAULT_SITE_THEME: null
>> *ECOMMERCE_URL_ROOT: http://localhost:18130 <http://localhost:18130>*
>> *EDX_API_KEY: PUT_YOUR_API_KEY_HERE                # --------------->>> 
>> Question 1:How I get EDX_API_KEY  ?                           
>> *ENABLE_COMPREHENSIVE_THEMING: 
>> false
>> *ENROLLMENT_API_URL: http://localhost:80/api/enrollment/v1/enrollment 
>> <http://localhost:80/api/enrollment/v1/enrollment>*
>> JWT_AUTH:
>>     JWT_ALGORITHM: HS256
>>     JWT_DECODE_HANDLER: 
>> ecommerce.extensions.api.handlers.jwt_decode_handler
>>     
>> *JWT_ISSUERS:    - http://localhost:80/oauth2 
>> <http://localhost:80/oauth2>*
>>     - ecommerce_worker
>>     JWT_LEEWAY: 1
>>     JWT_SECRET_KEY: lms-secret
>>     JWT_SECRET_KEYS:
>>     - lms-secret
>>     JWT_VERIFY_EXPIRATION: true
>> LANGUAGE_CODE: en-us
>> LMS_DASHBOARD_URL: http://localhost:80/dashboard
>> LMS_HEARTBEAT_URL: http://localhost:80/heartbeat
>> *LMS_URL_ROOT: http://localhost:80 <http://localhost:80>*
>> *OAUTH2_PROVIDER_URL: http://localhost:80/oauth2 
>> <http://localhost:80/oauth2>*
>> OSCAR_FROM_EMAIL: os...@example.com <javascript:>
>> *PAYMENT_PROCESSOR_CONFIG:*
>>     edx:
>>         cybersource:
>>             access_key: SET-ME-PLEASE
>>             cancel_page_url: 
>> http://127.0.0.1:8000/commerce/checkout/cancel/
>>             merchant_id: SET-ME-PLEASE
>>             payment_page_url: https://set-me-please
>>             profile_id: SET-ME-PLEASE
>>             receipt_page_url: 
>> http://127.0.0.1:8000/commerce/checkout/receipt/
>>             secret_key: SET-ME-PLEASE
>>             soap_api_url: https://set-me-please
>>             transaction_key: SET-ME-PLEASE
>>         *paypal:                                                             
>>     
>> #--------------------------------->>>I use paypal                       *
>>             cancel_url: http://127.0.0.1:8000/commerce/checkout/cancel/
>>             client_id: xxxxxxxxx
>>             client_secret: xxxxxx
>>             error_url: http://127.0.0.1:8000/commerce/checkout/error/
>>             mode: Sandbox
>>             receipt_url: http://127.0.0.1:8000/commerce/checkout/receipt/
>> PLATFORM_NAME: Your Platform Name Here
>> *SECRET_KEY: Your secret key here            # -------------->>>         
>>                   Question 2:  How I get Secret key ?*
>> SEGMENT_KEY: null
>> SOCIAL_AUTH_EDX_OIDC_ID_TOKEN_DECRYPTION_KEY: ecommerce-secret
>> SOCIAL_AUTH_EDX_OIDC_KEY: ecommerce-key
>> *SOCIAL_AUTH_EDX_OIDC_LOGOUT_URL: http://localhost:80/logout 
>> <http://localhost:80/logout>*
>>
>> *SOCIAL_AUTH_EDX_OIDC_SECRET: 
>> ecommerce-secretSOCIAL_AUTH_EDX_OIDC_URL_ROOT: http://localhost:80/oauth2 
>> <http://localhost:80/oauth2>*
>> SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
>> STATIC_ROOT: /edx/var/ecommerce/staticfiles
>> SUPPORT_URL: SET_ME_PLEASE
>> THEME_SCSS: sass/themes/default.scss
>> TIME_ZONE: UTC
>>
>>
>> *PLEASE ANWSER 2 QUESTION ABOVE!THANK YOU  (^-^) !*
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/db2bf263-1fbd-4f6b-bacd-09c2c4e82ee8%40googlegroups.com.

Reply via email to