@@ -50,7 +50,7 @@ class AdyenClient(object):
5050 APPLICATION_VERSION_HEADER_NAME = 'adyen-library-version'
5151 """A requesting client that interacts with Adyen. This class holds the
5252 adyen logic of Adyen HTTP API communication. This is the object that can
53- maintain its own username, password, merchant_account, hmac and skin_code .
53+ maintain its own username, password and hmac .
5454 When these values aren't within this object, the root adyen module
5555 variables will be used.
5656
@@ -95,7 +95,7 @@ def __init__(
9595 api_data_protection_version = None ,
9696 api_transfers_version = None ,
9797 api_stored_value_version = None ,
98- api_balance_platform_version = None
98+ api_balance_platform_version = None ,
9999 ):
100100 self .username = username
101101 self .password = password
@@ -212,8 +212,8 @@ def _determine_base_url_and_version(self, platform, service):
212212 'transfers' : {
213213 'version' : self .api_transfers_version ,
214214 'base_url' : {
215- 'live' : settings .BASE_TRANSFERS_URL .format (platform ),
216- 'test' : settings .BASE_TRANSFERS_URL .format (platform )
215+ 'live' : settings .BASE_BTL_URL .format (platform ),
216+ 'test' : settings .BASE_BTL_URL .format (platform )
217217 }
218218 },
219219 'storedValue' : {
@@ -222,7 +222,7 @@ def _determine_base_url_and_version(self, platform, service):
222222 'live' : settings .BASE_STORED_VALUE_URL .format (platform ),
223223 'test' : settings .BASE_STORED_VALUE_URL .format (platform )
224224 }
225- }
225+ },
226226 }
227227
228228 version = versions_and_urls [service ]['version' ]
@@ -360,7 +360,7 @@ def call_adyen_api(
360360 idempotency_key = None ,
361361 ** kwargs
362362 ):
363- """This will call the adyen api. username, password, merchant_account,
363+ """This will call the adyen api. username, password,
364364 and platform are pulled from root module level and or self object.
365365 AdyenResult will be returned on 200 response. Otherwise, an exception
366366 is raised.
0 commit comments