processout / processout-ios

MIT License
3 stars 7 forks source link

fix(POM-360): `enableThreeDS2` parameter encoding #261

Closed andrii-vysotskyi-cko closed 7 months ago

andrii-vysotskyi-cko commented 7 months ago

Description

By default iOS encodes let enableThreeDS2 key as "enable_three_ds2" when strategy is set to convertToSnakeCase. But backend expects it to be enable_three_d_s_2.

Solution was to define custom CodingKeys. In order to avoid re-defining all coding keys AutoCodingKeys.stencil template was added.

Jira Issue

https://checkout.atlassian.net/browse/POM-355