Commit 5a9073e6 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[bnp] retrieve recipient transfer id

Needed to do polling for new recipient with digital_key
parent 730ad118
......@@ -838,6 +838,7 @@ class AddRecipPage(BNPPage):
raise AddRecipientBankError(message=self.get('message'))
def get_recipient(self, recipient):
# handle polling response
r = Recipient()
r.iban = recipient.iban
r.id = self.get('data.gestionBeneficiaire.identifiantBeneficiaire')
......@@ -847,6 +848,7 @@ class AddRecipPage(BNPPage):
r.currency = u'EUR'
r.bank_name = NotAvailable
r._id_transaction = self.get('data.gestionBeneficiaire.idTransactionAF') or NotAvailable
r._transfer_id = self.get('data.gestionBeneficiaire.identifiantBeneficiaire') or NotAvailable
return r
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment