razorpay / razorpay-go

Razorpay Go SDK
MIT License
37 stars 24 forks source link

Webhook verfication and fixed error resonse #58

Closed ankitdas13 closed 2 years ago

ankitdas13 commented 2 years ago

webhook verification doc : https://razorpay.com/docs/webhooks/validate-test/#validate-webhooks

subscription verfication : https://razorpay.com/docs/api/payments/subscriptions/#payment-verification

payment verfication : https://razorpay.com/docs/payments/payment-gateway/quick-integration/build-integration/#14-verify-signature

paymentlink verfication : https://razorpay.com/docs/api/payment-links/#verify-signature

& fixed error response , instead of showing razorpay error description it showed %!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference) in every razorpay error response