Giter VIP home page Giter VIP logo

Comments (10)

armando-ibarra-cko avatar armando-ibarra-cko commented on July 19, 2024 1

@JonhSilver I understand the situation now.
I already asked to the team to reach out to you to helping on getting the credentials information.

If you log into your account, and click on Developer's tab -> Keys, you should be able to see all the keys that your account have.

image

Public and Secret key is unique on each account, so for example let's say you have an account for Four systems, then you need to instantiate the SDK like
checkout_sdk.FourSdk() \ .secret_key(os.environ.get('CHECKOUT_FOUR_SECRET_KEY')) \ .public_key(os.environ.get('CHECKOUT_FOUR_PUBLIC_KEY')) \. # public key is optional because is only needed for tokens module .build()

from checkout-sdk-python.

armando-ibarra-cko avatar armando-ibarra-cko commented on July 19, 2024 1

I can't tell if in the UI there is something that says the type of your account, but we can follow the pattern of the key.

For Default the key should look like
sk_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX OR matches this regex ^sk_(test_)?(\\w{8})-(\\w{4})-(\\w{4})-(\\w{4})-(\\w{12})$

Four SDK should look like
sk_XXXXXXXXXXXXXXXXXXXXXX or matches this pattern ^sk_(sbox_)?[a-z2-7]{26}[a-z2-7*#$=]$

Try this page for easy regex https://regex101.com/

Oauth keys are more easier because
client_id starts with ack_..... and client_secret well is a huge string

Four keys and OAUTH are the same system type so consider the system as this way

Default -> Is the old version of the Checkout systems, basically customers that have been enrolled in checkout for a long time.
Four & OAUTH -> is the newest version of Checkout systems, if your account is recently created is probably that is enrolled on this system, this will be the only version available in the future (not near)

from checkout-sdk-python.

armando-ibarra-cko avatar armando-ibarra-cko commented on July 19, 2024 1

Okay, I already escalate this and sorry for not having a clear response about how to get those keys I will circle back to you whenever I have the procedure.

from checkout-sdk-python.

armando-ibarra-cko avatar armando-ibarra-cko commented on July 19, 2024

Hi @JonhSilver
You must request a test account, you can do it from this link
https://www.checkout.com/get-test-account

And this is the FAQ if you found any other issue
https://www.checkout.com/docs/faq/my-account

If you have any question please let us know

from checkout-sdk-python.

JonhSilver avatar JonhSilver commented on July 19, 2024

I dont need test account, i need know place where i can see thoose keys

from checkout-sdk-python.

armando-ibarra-cko avatar armando-ibarra-cko commented on July 19, 2024

Did you already have a Checkout account?
Did you already contact your customer support specialist?
All those information is shared by your account, actually you can't get Default/Four accounts at the same time, like I said depending on your company needs you'll get all those details.

from checkout-sdk-python.

JonhSilver avatar JonhSilver commented on July 19, 2024

Did you already have a Checkout account? Yes
Did you already contact your customer support specialist? Yes, they dont know anything

from checkout-sdk-python.

JonhSilver avatar JonhSilver commented on July 19, 2024

Yep, ty, but problem is that in my account they called just Keys (not CHECKOUT_FOUR_PUBLIC_KEY or CHECKOUT_FOUR_OAUTH_CLIENT_ID ), but in script they have a lot of names

For Default account systems: CHECKOUT_PUBLIC_KEY & CHECKOUT_SECRET_KEY
For Four account systems: CHECKOUT_FOUR_PUBLIC_KEY & CHECKOUT_FOUR_SECRET_KEY
For Four account systems (OAuth): CHECKOUT_FOUR_OAUTH_CLIENT_ID & CHECKOUT_FOUR_OAUTH_CLIENT_SECRET
How to know which account Key meet Default or Four key name in script?

from checkout-sdk-python.

JonhSilver avatar JonhSilver commented on July 19, 2024

Also we dont have developer mode in our hubs accounts :(
image

from checkout-sdk-python.

armando-ibarra-cko avatar armando-ibarra-cko commented on July 19, 2024

@JonhSilver is there anything else we can help? otherwise I'll close this issue.

from checkout-sdk-python.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.