I found an inconsistency in the code for string comparison statusId.equals("PRUN_COMPLETED") whereas it should be written as "PRUN_COMPLETED".equals(statusId) cause the former can throw NullPointerException if the variable found to be NULL.
Thanks Devanshu Vyas for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1795344 13f79535-47bb-0310-9956-ffa450edef68
Ecommerce component
more information
How to use Janrain Engage Social Login.
1.Get API Key from http://www.janrain.com/products/engage/social-login. 2.Configure file setting : ecommerce.properties you can put it Example: -------------------------------------------------------------------------------- # -- Enable janrain engage (Y/ N) default N janrain.enabled=N
# -- Janrain api key (secret)
janrain.apiKey=exampleKey
# -- Janrain application domain
janrain.baseUrl=https://example.rpxnow.com
# -- Janrain application name
janrain.appName=exampleAppName
--------------------------------------------------------------------------------
3.Restart the server.
How to test Janrain Engage Social Login.
- Go to Login screen.
- Look the Social Login Widget and you can use these existing accounts to sign-in to your website.
- First time if account does not exists then system will create new account.
- After account existing in the system you can use "Social Login Widget" to login account.
===================================================================================================