|
|
|
@ -447,8 +447,11 @@ class YandexAvisoView(APIView): |
|
|
|
msg.attach_alternative(html_content, "text/html") |
|
|
|
msg.attach_alternative(html_content, "text/html") |
|
|
|
msg.send() |
|
|
|
msg.send() |
|
|
|
|
|
|
|
|
|
|
|
if pay.invoice.rebilling_on: |
|
|
|
try: |
|
|
|
|
|
|
|
InvoiceRebilling.objects.get(yandex_pay=pay) |
|
|
|
setup_periodic_billing(pay.order_number) |
|
|
|
setup_periodic_billing(pay.order_number) |
|
|
|
|
|
|
|
except InvoiceRebilling.DoesNotExist: |
|
|
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
return HttpResponse(xml_res, content_type='application/xml') |
|
|
|
return HttpResponse(xml_res, content_type='application/xml') |
|
|
|
|
|
|
|
|
|
|
|
|