NewNo plan feeNo plan fee. Just 2.9% + $0.30 per card sale, and signing up is free.Try now →

Braintree · Decline codes

What does Braintree 2039 “Invalid Authorization Code” mean?

Checked

Braintree 2039 “Invalid Authorization Code” means the authorization code was not found or not provided. It is a hard decline. Braintree suggests having the shopper try again, and if it persists, contact their bank. It usually concerns a payment that relies on a previous authorization code.

Type
Hard decline
Who declined
The processor
Retry
Yes, once; then the shopper should contact the bank
Shopper action
Try again
Merchant action
Retry once

What PlatformDTC does

PlatformDTC does not connect to Braintree. Authorization codes on PlatformDTC's rails are handled inside the processor's own API, not typed by the store, so this particular error has no counterpart there.

Why it happens

A transaction that needed an authorization code, such as a forced or voice-authorized sale, arrived without a valid one.

What the store can do

Try once more. If it fails again, ask the shopper to contact their bank or use another method.

For developers

Braintree returns processor_response_code 2039 with processor_response_text “Invalid Authorization Code” and processor_response_type “hard_declined” on the Transaction object.

Frequently asked questions

What is an authorization code?
A short code the bank issues when it approves a payment.
Should I retry Braintree 2039?
Braintree suggests one more try, then the shopper contacts the bank.

Sources

Related

Payments library