notify remote invoices payment only if available in transaction (#8644)
This commit is contained in:
parent
7e6d3223f1
commit
639af8bb72
|
@ -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()
|
||||
|
||||
|
|
Reference in New Issue