Pass through payment details to redist
This commit is contained in:
parent
7effd60954
commit
4e9e5ef0fb
|
@ -598,7 +598,9 @@ class Agora(util.Base):
|
|||
supported_currencies, account_info = self.markets.get_valid_account_details()
|
||||
for asset, ad_id, countrycode, currency, provider in our_ads:
|
||||
if currency in supported_currencies:
|
||||
rtrn = self.create_ad(asset, countrycode, currency, provider, edit=True, ad_id=ad_id)
|
||||
rtrn = self.create_ad(
|
||||
asset, countrycode, currency, provider, payment_details=account_info[currency], edit=True, ad_id=ad_id
|
||||
)
|
||||
# Bail on first error, let's not continue
|
||||
if rtrn is False:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue