Braintree · Decline codes
What does Braintree 2078 “Invalid Secure Payment Data” mean?
Checked
Braintree 2078 “Invalid Secure Payment Data” means a PIN cryptographic error was found during decryption. It is a hard decline seen in card-present payments with a PIN. The shopper should pay another way, and you should check the terminal's encryption setup.
- Type
- Hard decline
- Who declined
- The processor
- Retry
- No
- Shopper action
- Use another payment method
- Merchant action
- Check the card reader setup
What PlatformDTC does
PlatformDTC does not connect to Braintree. PIN entry happens on card readers; Stripe documents its own PIN codes such as incorrect_pin as applying only to card-reader payments, not online checkout.
Why it happens
The encrypted PIN block could not be decrypted correctly.
What the store can do
Check the terminal and its keys; contact Braintree if it repeats.
For developers
Braintree returns processor_response_code 2078 with processor_response_text “Invalid Secure Payment Data” and processor_response_type “hard_declined” on the Transaction object.
Frequently asked questions
- Does Braintree 2078 happen online?
- It concerns PIN data, which belongs to in-person card payments.
- Can the shopper fix 2078?
- Only by paying another way.
Sources
- Declines: authorization decline codes — Braintree (PayPal)
- Transaction response object — Braintree (PayPal)
- Decline codes — Stripe
Related
- 2102 — The PIN entered was wrong.
- 2103 — Too many wrong PIN attempts.
- 2079 — Your PayPal merchant account has a configuration error.
- 2080 — Invalid credentials.
- 2081 — PayPal sent a pending response Braintree doesn't support.
- 2082 — PayPal requires buyer and seller in the same country.
- 2083 — PayPal needs the buyer's phone number.
- 2084 — The buyer must finish their PayPal tax information.