Pass through payment details to redist

master
Mark Veidemanis 3 years ago
parent 7effd60954
commit 4e9e5ef0fb
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -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…
Cancel
Save