Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9164409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:40:36+00:00 2026-06-17T14:40:36+00:00

I am working on client side encryption for braintree payments. With out encryption the

  • 0

I am working on client side encryption for braintree payments. With out encryption the application runs fine, but when i encrypt the card number using client side encryption (braintree-1.1.0.min.js), card number encrypts (into a long string) but i get error as response saying

(Credit card type is not accepted by this merchant
account. Credit card number must be 12-19 digits. CVV must be 4 digits
for American Express and 3 digits for other card types)`

I am using 4111111111111111 as card number provided on braintree site.

Brain Tree site.
On server side i am usng Java.
Thanks in advance for helping…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:40:37+00:00Added an answer on June 17, 2026 at 2:40 pm

    I work at Braintree.

    Generally, this error indicates you’ve either used the wrong key, or you’ve somehow modified the encrypted strings before sending them to us.

    Your javascript should look something like:

    var braintree = Braintree.create("MIIB...")
    

    where the string is your client-side encryption key, which is very long — much longer than your merchant id, public key, and private key.

    If you include your code, both client-side javascript and server-side Java, I might be able to spot the specific issue you’re having. Please don’t include your private key if you add your server side code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The client side validations gem is working fine with simple_form and formatastic but if
Client side Validation and ValidationSummary is working fine for my project (MVC4 + Razor
I'm working on a client-server Android application and trying to figure out how to
Currently i am working on client and Server side communication, using flex and FMS(Flash
I'm working on uploading file encrypted on the client side using Node.js, and I
Client side validations are working perfectly on my other simple_forms. Code I am using
I'm working on the client side application of the client/server chat I'm doing for
I'm working on a client-side Java application for which I want to create a
I try to add client side validation using this line of code: @Html.EnableClientValidation() But
I have currently set up the client side of my Android application (working on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.