Skip to content

threeDSHtmlContent returned as Base64 on API but SDK automatically decodes it #178

@KadirTaban

Description

@KadirTaban

Docs say the threeDSHtmlContent field returned from /payment/3dsecure/initialize is Base64 encoded.
But the Java SDK automatically decodes it:

if (response != null) {
    response.setHtmlContent(DigestHelper.decodeString(response.getHtmlContent()));
}

This causes a mismatch between API docs and SDK behavior and prevents developers from handling the Base64 value themselves.

Expected

SDK should:

return the raw Base64 response as-is, or

provide an option to enable/disable decoding.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions