lingo: notify remote invoices payment only if available in transaction (#8644)
This commit is contained in:
parent
e9102a2b20
commit
b5d6c6b4cb
|
@ -184,9 +184,9 @@ class CallbackView(View):
|
|||
except:
|
||||
# ignore errors, it will be retried later on if it fails
|
||||
pass
|
||||
|
||||
for item in transaction.remote_items.split(','):
|
||||
regie.pay_item(request, item)
|
||||
if transaction.remote_items:
|
||||
for item in transaction.remote_items.split(','):
|
||||
regie.pay_item(request, item)
|
||||
|
||||
return HttpResponse()
|
||||
|
||||
|
|
Loading…
Reference in New Issue