From 4e9e5ef0fb05dcde32c2597660dff20a9f189549 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 9 Mar 2022 15:18:54 +0000 Subject: [PATCH] Pass through payment details to redist --- handler/agora.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/handler/agora.py b/handler/agora.py index 791ca79..db4dd2f 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -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