PayPal NVP : how use SunX509 on IBM JRE - paypal

I’m integrating paypal Api for my company with NVP mode. The Application must be run on Websphere application Server.
In paypal SDK core, it actually uses in class SSLUtil (line 37) : KeyManagerFactory.getInstance("SunX509"). this does not work on IBM JRE.
WAS uses IbmX509.
What can I do if I don’t want to modify the paypal class?
Thank you for you answer?
regards!
Stevens

Please use the following branch for you to get the fix. Please build and use that core with the SDK.
https://github.com/paypal/sdk-core-java/tree/fix-keymanagerfactory-ibm
Changed the SSLUtil Class as follows which should fix it for IBM as well as Oracle JRE.
KMF = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
We have made it agnostic of JRE provider.

Related

Error Opencart 2.3 Authorize.net

I am using Opencart 2.3 version and installed an extension of Authorize.net AIM. I configured the API details and Facing getting an error of (Test Mode) The supplied currency code is either invalid, not supported, not allowed for this merchant or doesn't have an exchange rate.
Here is the screenshot of settings I configured
Can anyone help me where I am wrong?
Thanks in advance.

wso2is 5.4.1 + liferay 6.2ga6

I followed official documentation from : https://docs.wso2.com/display/IS541/Integrating+WSO2+Identity+Server+with+Liferay to Login in my Liferay Portal with wso2is user, but it not work for me in wso2is-5.4.1 and liferay6.2ga6. When I try login, liferay's log print "Primary URL :https://wso2is.local:9443/services/Secondary URL :null" but no call to wso2is server is done.
I added this lines into my portal-ext.properties :
auth.pipeline.pre=org.wso2.liferay.is.authenticator.WSO2ISAuthenticator auth.pipeline.enable.liferay.check=false wso2is.auth.service.endpoint.primary=https://wso2is.local:9443/services/ wso2is.auth.thrift.endpoint=localhost wso2is.auth.thrift.port=10500 wso2is.auth.thrift.connection.timeout=10000 wso2is.auth.thrift.admin.user=admin wso2is.auth.thrift.admin.user.password=admin wso2is.auth.thrift.endpoint.login=https://wso2is.local:9443/ wso2is.auth.thrift.system.trusstore=/wso2is-5.4.1/repository/resources/security/wso2carbon.jks wso2is.auth.thrift.system.trusstore.password=wso2carbon
Is there something wrong?
Unfortunately, a lot of the WSO2 documentation is very crufty, containing articles that have been pulled forward from previous versions of the documentation without regression testing on the use cases they present. In short, there's stuff in the documentation that plain doesn't work. If you look at the bottom of the article you'll see the following:
Please note that the above configuration is tested with Liferay 6.1.1
and WSO2 Identity 3.2.3/4.0.0.
I recall I tested this a long time ago, and determined that it wouldn't work with the current version, but that was so long ago that I can't remember why. In any case, the approach presented for integrating Liferay was offered at a time where Liferay didn't have the ability to use standardized authentication protocols like SAML. Now that it does, you probably want to do it in a standards compliant manner instead of using an authentication interface Liferay only promotes using for proprietary authentication systems.
My suggestion is that if you are using Liferay portal enterprise with LDAP that you use the built-in SAML connector. If you aren't using Enterprise, there are some compatible authenticator extensions in the extensions store that will also integrate with Liferay. If you configure Liferay to be a client against WSO2 and then integrate Liferay to LDAP on the backend, it also allows Liferay to be used as a user dashboard instead of the jaggery based one that comes in the product.

OAuth with IBM API Manager and IBM Mobile First

I would like to use OAuth as authorization system for my API created on the IBM API Manager (on Bluemix). Is it possible to use the IBM MobileFirst as OAuth provider? I have already tried inserting
mobile_first_context*/authorization/v1/authorization
as “Authorization URL”, after calling
advanced_developer_portal_context*/oauth/authorize
I obtain the form to insert the credentials, I enter a MobileFirst user and password (credentials are in basic user registry) but it seems to be always failing and the form is constantly visible.
What am I getting wrong?
Thank you in advance.
This is not possible through MobileFirst Platform Foundation at this time. The question should be directed at the API Manager product. You could probably open a PMR (support ticket) for that team.
To use OAuth to the secure the APIs in IBM API Management, please see the Securing an API by using OAuth 2.0 tutorial. As provided in the earlier answer it is not possible through IBM Mobile First Platform at this time.

Salesforce : How to activate Apex Classes feature in Professional Edition

I am working on a salesforce project and need to add a package. The issue is that under developer console I am not able to create Apex Classses , which leads to the following error when I add the package to salesforce.
This is the error I get when I try to install the package
After reading many forums, I came to a conclusion that i need to activate Apex Author permission under permission sets.
But the permission is not present there.
I created a developer account for salesforce in which the Apex Classes where already active and was able to import the package and make changes.
The Salesforce account is Professional Edition and is not under trial.
Any help regarding this will be appretiated.
Thanks
Currently, Professional Edition (PE) does not have the ability to create, modify, or deploy Apex classes directly in an org of that edition. This includes using Apex in an unmanaged package. The Author Apex permission is only found in Enterprise, Unlimited, Performance, and Developer editions.
If you are an AppExchange Partner, you can write apps that use Apex, and send them through security review to be installed in PE orgs (as well as Group Edition).
From the Apex Code Developer guide relating to Apex and PE, you can read about the basic statement about Apex and supported editions. In the ISV Developer Guide (for App Exchange Apps and partners), you can read the specifics of what is required to get your app to run with Apex in a PE/GE org.
If you are exploring Salesforce for the purposes of writing ISV apps for Salesforce, I would also recommend taking this short self-paced learning module on ISV basics and Salesforce on the Trailhead learning platform.
Finally, there is a dedicated Salesforce stack exchange you might also look into for further question.

License issue in SOAP UI pro-4.5.2

Good Morning all
I am looking for help on a licensing issue in SOAP UI.
I have a purchased license od SOAP UI pro and tried to activate the license on my new Windowa-7/64 bit DELL system.
i am unable to activate it in SOAP UI pro 4.5.2.
http://www.soapui.org/Getting-Started/i ... enses.html
Every time I try to activate online now this is the message I receive an error message
Error
Unable to activate license.
The license can not be activated as the number of allowed copies has been exceeded.
How can I get my new license activated?
The problem can be resolved if you put an old version of soap ui first and then start updating the license file with the new one.
I am using 4.6 Soap Ui pro and faced it again.
This might not be an issue of Soap Ui , but is the problem of updating the old license (which is expired ) or adding a new license in the existing Soap Ui with the new license.
please let me know , if there is some doubts .
Contact SoapUI support http://www.soapui.org/Support/support-overview.html . I think they can help you.
Maybe you should use an online tool that is more adapted to SOAP tests and does not require that you install anything. Try https://www.wsdltophp.com. Why using a installed software to do online stuffs (SOAP) when online tool exists?