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

How to configure Endpoint - Smile console #2

Open
chuck189 opened this issue Aug 15, 2022 · 3 comments
Open

How to configure Endpoint - Smile console #2

chuck189 opened this issue Aug 15, 2022 · 3 comments

Comments

@chuck189
Copy link

Hi Team, Good day,
The following command doesn't open the smile simulator and says invalid endpoint what is supposed to be configured in the public folder, I feel this is a good framework but am stuck at this point of configuration and no support from the docs.
image

@mikebergafu
Copy link
Collaborator

mikebergafu commented Aug 15, 2022 via email

@mikebergafu
Copy link
Collaborator

mikebergafu commented Aug 15, 2022 via email

@mikebergafu
Copy link
Collaborator

mikebergafu commented Aug 15, 2022

Sample .env

APP_ENV=dev
APP_URL=http://localhost/YOUR-USSD-PROJECT-FOLDER/public/

SMS_ENDPOINT=

APP_DB_USER=root
APP_DB_PASS=
APP_DB_HOST=localhost
APP_DB_PORT=3306
APP_DB_NAME=

SESSION_DRIVER=file
SESSION_DB_USER=root
SESSION_DB_PASS=
SESSION_DB_HOST=localhost
SESSION_DB_PORT=3306
SESSION_DB_NAME=

USSD_URL=${APP_URL}
USSD_PHONE=+233240000000
USSD_NETWORK_MNC=01

USSD_CODE="*100#"
USSD_CONSOLE_BEHAVIOR=CONSOLE

REQUIRED_PARAM_NAME_USER_PHONE=msisdn
REQUIRED_PARAM_NAME_MENU_STRING=message
REQUIRED_PARAM_NAME_USER_NETWORK=network
REQUIRED_PARAM_NAME_SESSION_ID=sessionID
REQUIRED_PARAM_NAME_USER_RESPONSE=ussdString
REQUIRED_PARAM_NAME_REQUEST_TYPE=ussdServiceOp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants