Skip to content

Commit a16e2bd

Browse files
committed
After receiving a PayPal webhook, immediatelly try to process it
1 parent e00d7c1 commit a16e2bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

thebook/webhooks/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,6 @@ def post(self, request, *args, **kwargs):
9191
id_=paypal_webhook_payload.id,
9292
)
9393

94+
paypal_webhook_payload.process()
95+
9496
return HttpResponse(status=HTTPStatus.OK)

0 commit comments

Comments
 (0)