Skip to content

Failed to decrypt token data #4

@Sargnec

Description

@Sargnec

I'm getting 'Failed to decrypt token data' error from getTapToken. Is getTapToken deprecated?

const config = { sandboxKey: ..., productionKey: ..., countryCode: ..., transactionCurrency: ..., allowedCardNetworks:..., environmentMode: getCurrentEnv() === APP_ENV.PRODUCTION ? SdkMode.production : SdkMode.sandbox, amount: params?.grandTotal, merchantId:..., merchantCapabilities: [ MerchantCapabilities.threeDSecure, MerchantCapabilities.credit, MerchantCapabilities.debit, ], applePayMerchantId:..., };

let TapTokenRes: TapToken = await getTapToken(config);

`Body :

{
"errors" : [
{
"error" : "BACKEND_ERROR",
"description" : "Failed to decrypt token data",
"code" : "7012"
}
]

}`

"@tap-payments/apple-pay-rn": "^1.0.28",

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