iZettle / sdk-android

Add card payments from Zettle to your own app
https://developer.zettle.com/docs/android-sdk
24 stars 20 forks source link

solve the overrides refund payment #67

Closed moElbehiry closed 2 years ago

moElbehiry commented 2 years ago

when doing partial refunds the first will work, but when asking to do the second refund with the original ID, will return the refund - and not the original payment. And you can’t refund a refund so it will fail. this PR to solve this by creating every refund a new reference id.