lemaiyan / mpesa_api

Mpesa B2C, C2B, STKPush Django framework based on the new Api's https://developer.safaricom.co.ke
MIT License
73 stars 70 forks source link

Remove the HTML renderer for callback endpoints #18

Open MegacoderKim opened 4 years ago

MegacoderKim commented 4 years ago

The MPESA urls for DRF views can be browsed through the web to allow random posts. We can add this to all the callback CBV renderer_classes = [renderers.JSONRenderer] just not to give a user ideas incase they land there.