Richard Case
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
erpnext/erpnext_integrations/doctype/plaid_settings/plaid_connector.py
-
requirements.txt
|
|
@ -20,7 +20,7 @@ class PlaidConnector(): |
|
|
|
client_id=self.settings.plaid_client_id, |
|
|
|
secret=self.settings.get_password("plaid_secret"), |
|
|
|
environment=self.settings.plaid_env, |
|
|
|
api_version="2019-05-29" |
|
|
|
api_version="2020-09-14" |
|
|
|
) |
|
|
|
|
|
|
|
def get_access_token(self, public_token): |
|
|
@ -29,7 +29,7 @@ class PlaidConnector(): |
|
|
|
response = self.client.Item.public_token.exchange(public_token) |
|
|
|
access_token = response["access_token"] |
|
|
|
return access_token |
|
|
|
|
|
|
|
|
|
|
|
def get_token_request(self, update_mode=False): |
|
|
|
country_codes = ["US", "CA", "FR", "IE", "NL", "ES", "GB"] if self.settings.enable_european_access else ["US", "CA"] |
|
|
|
args = { |
|
|
|
|
|
@ -3,7 +3,7 @@ frappe |
|
|
|
gocardless-pro==1.11.0 |
|
|
|
googlemaps==3.1.1 |
|
|
|
pandas>=1.0.5 |
|
|
|
plaid-python==6.0.0 |
|
|
|
plaid-python>=7.0.0 |
|
|
|
pycountry==19.8.18 |
|
|
|
PyGithub==1.44.1 |
|
|
|
python-stdnum==1.12 |
|
|
@ -12,4 +12,4 @@ taxjar==1.9.0 |
|
|
|
tweepy==3.8.0 |
|
|
|
Unidecode==1.1.1 |
|
|
|
WooCommerce==2.1.1 |
|
|
|
pycryptodome==3.9.8 |
|
|
|
pycryptodome==3.9.8 |
|
|
|