Skip to content
Commit 8611d045 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon
Browse files

[banquepopulaire] Changed get_history return to prevent gocardless crash

The get_history method used a for loop a yielded transactions one by
one, which led to a crash if the gocardless information filling did not
work properly. I added a return in case we land on the ErrorPage.
This patch fills the transaction list while filling the gocardless information
for each gocardless transaction and eventually returns the transaction_list:
this way, the transaction list is always properly returned without crash due
to bugs in the set_gocardless_transaction_details() method.

Closes: 5879@zendesk
parent 2e603854
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