You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Webhooks simulator in 2023-Aug it looks like a events Content-type are application/json. This code will not work
# Avoid the RawPostDataException. See original issue for details:# https://github.com/spookylukey/django-paypal/issues/79ifnotrequest.META.get("CONTENT_TYPE", "").startswith("application/x-www-form-urlencoded"):
raiseAssertionError(CONTENT_TYPE_ERROR)
Using the Webhooks simulator in 2023-Aug it looks like a events Content-type are application/json. This code will not work
Example from the Webhook simulator
The text was updated successfully, but these errors were encountered: