Comments (10)
@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.
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.
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.
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.
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.
I dont need test account, i need know place where i can see thoose keys
from checkout-sdk-python.
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.
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.
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.
Also we dont have developer mode in our hubs accounts :(
from checkout-sdk-python.
@JonhSilver is there anything else we can help? otherwise I'll close this issue.
from checkout-sdk-python.
Related Issues (16)
- CheckoutApiException class should have error_type from the response also. HOT 3
- Documentation around making a payment is incorrect HOT 2
- Inconsistent error handling HOT 5
- Error handling in the readme HOT 3
- Your API Key is invalid HOT 1
- CVV issue HOT 1
- Feature request: initialize InstrumentsClient with API
- [QUESTION] Why classes have no __init__ methods? HOT 4
- 3D Secure flow is not supported by the SDK HOT 2
- Add Dynamic Descriptor to payment requests HOT 1
- Contributions HOT 2
- Request: custom response classes HOT 2
- Add support for create payment token API call HOT 1
- How to get All reports HOT 3
- Add error codes and error messages to API and Business validation declines HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkout-sdk-python.