cashfree / cashfree-pg-sdk-dotnet

.NET Framework for Cashfree Payment Gateway
https://cashfree.com
Apache License 2.0
3 stars 2 forks source link

https://api.cashfree.com/pg/orders/{order_id}/refunds , Response key "refund_mode" is not matching with server SDK RefundModeEnum enum #54

Open vipuldimri opened 1 week ago

vipuldimri commented 1 week ago

image

and therefore getting below exception

image

Error converting value "NORMAL" to type 'System.Nullable`1[cashfree_pg.Model.RefundEntity+RefundModeEnum]'. Path '[0].refund_mode', line 1, position 359.

Api response

image

suhas-cashfree commented 5 days ago

Hi @vipuldimri can you try version 4.3.3 and let me know. Fixed it in this version