spookylukey / django-paypal

A pluggable Django application for integrating PayPal Payments Standard or Payments Pro
MIT License
729 stars 208 forks source link

Paypal notify url webook expecting x-www-form-urlencoded but received application/json from paypal #241

Closed bhaskar8088 closed 3 years ago

bhaskar8088 commented 3 years ago

Hello,

I integrated django paypal in one of our customer site for subscriptions. Payment happened successfuly but when the notify_url webhook is hit, django-paypal saying it accepts only "application/x-www-form-urlencoded" but paypal sending "application/json".

Any idea whats going on here? Is this a bug or something I missed ?

Thanks

spookylukey commented 3 years ago

I don't know what is happening here, paypal should be sending it urlencoded. This sounds like a bug on Paypal's side, or some kind of misconfiguration. If you have more information, please re-open, but for now I'm going to close because this does not sound like a bug in django-paypal, nor anything I can help you with.