Fix missing fee problem when ORD returns missing membership information

This commit is contained in:
Senad Uka
2019-10-04 17:31:35 +02:00
parent 5c5931f3ed
commit 4de9e1d9a0
8 changed files with 214 additions and 182 deletions

View File

@@ -57,12 +57,16 @@ const csvParserErrors = {
const officeRnDAPIErrors = {
FAILED_TO_FETCH_MEMBERS: 'Failed to fetch members',
FAILED_TO_FETCH_BOOKINGS: 'Failed to fetch booking reservations',
FAILED_TO_FETCH_FEES: 'Failed to fetch existing fees',
FAILED_TO_FETCH_PLANS: 'Failed to fetch plans',
FAILED_TO_FETCH_FEES: 'Failed to fetch existing fees from ORD',
FAILED_TO_FETCH_PLANS: 'Failed to fetch plans from ORD',
FAILED_TO_DELETE_FEES: 'Failed to delete fees in ORD',
FAILED_TO_ADD_FEES: 'Failed to add fees in ORD',
MEMBERSHIPS_ARE_NOT_LOADED_CORRECTLY: 'Memberships are not loaded correctly',
OAUTH_FAILED: 'Failed to fetch new OAUTH token',
FAILED_TO_FETCH_DATA: 'Failed to fetch data from ORD. Please try again in a few minutes',
FAILED_TO_FETCH_RESOURCES: 'Failed to fetch resources data from ORD',
FAILED_TO_FETCH_RATES: 'Failed to fetch rates data from ORD',
FAILED_TO_UPDATE_MEMBERSHIP: 'Failed to update membership in ORD'
};
const integrationServiceErrors = {
PROCESSING_TRY_AGAIN: 'Incident calculations are in progress. Please try again in a few minutes',