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
in rest api its working fine but when i do call with client sdk getting this error everytime
razorpay.errors.BadRequestError: The amount must be an integer.
I don't think the 100 should be in quotes which makes it a string instead of an integer.
Try this client.payment.refund(,{"amount": 100,"speed": "optimum","receipt": "#Receipt No. 132"})
in rest api its working fine but when i do call with client sdk getting this error everytime
razorpay.errors.BadRequestError: The amount must be an integer.
client.payment.refund(,{"amount": "100","speed": "optimum","receipt": "#Receipt No. 132"})
The text was updated successfully, but these errors were encountered: