What happened?
the "sumup.transactions.refund" function has a void return type, but for failed refunds it doesn't throw. checked the actual data returned, it actually returns something like this:
refundRes { amount: 100, currency: '..., payment_id: '...', id: '...', status: 'failed', response_code: '51' }
Relevant code or error output
SDK version
0.1.6
Runtime version
No response
Package manager
No response
Operating system
No response
Additional context
No response
What happened?
the "sumup.transactions.refund" function has a void return type, but for failed refunds it doesn't throw. checked the actual data returned, it actually returns something like this:
refundRes { amount: 100, currency: '..., payment_id: '...', id: '...', status: 'failed', response_code: '51' }Relevant code or error output
SDK version
0.1.6
Runtime version
No response
Package manager
No response
Operating system
No response
Additional context
No response