commercetools / commercetools-paypal-plus-integration

Integration between commercetools API and PayPal Plus API
Apache License 2.0
7 stars 1 forks source link

Configure integration test failure and improve documentation #141

Open JudeNiroshan opened 5 years ago

JudeNiroshan commented 5 years ago

Integration tests are failing because of hardcoded product references and tax category references in the mockData/paymentHandler/dummyCartDraftWithDiscounts.json

Second paypal_plus client account is in config/application.yml.skeleton referred incorrectly in src/test/integration/java/com/commercetools/testUtil/TestConstants.java#SECOND_TEST_TENANT_NAME

It should highlight that it must have 2 different Commercetools Platform projects along with 2 different paypal_plus client application credentials when configuring the project locally.

It should note that in both Commercetools Platform projects, language has to be implicitly set to DE in order to pass some tests in the project.