razorpay / razorpay-go

Razorpay Go SDK
MIT License
39 stars 25 forks source link

SDK Error #42

Closed rajamaniraja closed 2 years ago

rajamaniraja commented 2 years ago

%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)

rajamaniraja commented 2 years ago

PaymentLink Create Method THrows panic .

When i debugged your SDK The error from razorpay is {"error":{"code":"BAD_REQUEST_ERROR","description":"amount: cannot be blank.","metadata":[],"reason":null,"source":null,"step":null}}

ankitdas13 commented 2 years ago

@rajamaniraja Sorry for the long delay . Could you please let us know if this issue has been resolved? If not, please let us know we will help you. also we fixed the exception handling in one of recent release. Please update to the most recent version to resolve this exception handling issue and amount is mandatory for creating paymentlink . you can use this doc as a reference

ankitdas13 commented 2 years ago

Closing this issue because the feature has already been added in one of the recent release.

Thanks for reporting this issue. If the issue still persists after upgrading, please feel free to re-open it or you can report on the support portal