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.
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.