omise / omise-swift

15 stars 10 forks source link

Fix decoding issues of charges #104

Closed tobias90 closed 3 years ago

tobias90 commented 3 years ago

1. Objective

In some cases it's not possible to retrieve the charge list. If one charge cannot be decoded the entire request will be canceled and an error will be thrown. One reason for this is that we expect too many infos for some payment methods. This PR should fix this issue. In addition, the framework should become more fault tolerant. If one charge cannot be decoded, all other charges should still be returned.

2. Description of change

3. Quality assurance

4. Operations impact N/A

5. Business impact N/A

6. The priority of change Normal