Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
my-flow committed Jun 4, 2016
1 parent 00c5c2c commit 8cc4533
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ private static void setUpOnlineService(final OnlineService onlineService) {
}
});
final Settings settings = Helper.INSTANCE.getSettings();
// see https://github.com/my-flow/paypalimporter/issues/9
onlineService.setParameter(OnlineService.ITEM_KEY_FI_TIK_ID, settings.getFITIKId());
onlineService.setFIId(settings.getFIId());
onlineService.setFIOrg(settings.getFIOrg());
onlineService.setFIName(settings.getFIName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,14 @@ public String getServiceType() {
}

/**
* @return OFX FI Id specific to PayPal
* @return OFX FI TIK ID specific to PayPal
*/
public String getFITIKId() {
return this.config.getString("fi_tik_id");
}

/**
* @return OFX FI ID specific to PayPal
*/
public String getFIId() {
return this.config.getString("fi_id");
Expand Down
5 changes: 4 additions & 1 deletion core/src/main/resources/settings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ error_code_search_warning = 11002
# OFX service type specific to PayPal
service_type = PayPal

# OFX FI Id specific to PayPal
# OFX FI TIK ID specific to PayPal
fi_tik_id = mdext:paypalimporter

# OFX FI ID specific to PayPal
fi_id = 0

# OFX FI Org specific to PayPal
Expand Down

0 comments on commit 8cc4533

Please sign in to comment.