#Kade
1 messages · Page 1 of 1 (latest)
Hi, how can we help?
Hi, I have a question about WisePose connection on .Net.
On the register this reader screen in WisePos E
(The register code below is an example.)
Alpha-Bravo-Charlie
When that came up
When I sent it in the Stripe code below,
// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
StripeConfiguration.ApiKey = "";
var options = new ReaderCreateOptions
{
RegistrationCode = "{{READER_REGISTRATION_CODE}}",
Label = "Alice's Reader",
Location = "{{LOCATION_ID}}",
};
var service = new ReaderService();
service.Create(options);
Invalid param:registration_code, found: {{Alpha-Bravo-Charlie}}, Invalid registration code tokens [{{Alpha, Charlie}}]
This is how the error window appears in the program.
What values should be included in the Registration Code, Label, and Location values?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
First, I enter RegistrationCode = "[{Alpha-Bravo-Carlie}]",
Please remove the sk_test key
and Label is Name of the device registered in the stripe account
Location value is Location registered with stripe account
Example)
Store1, Montreal
What should I change?
Can you provide the Doc you are following?
it' something like tmr_xxx
Found the same id as tmr_xxx.
I changed it and applied it, but it's the same
A registrationCode error appears.
Is it right to apply the code as below?
The code below is an example.
StripeConfiguration.ApiKey = "My api Key";
var options = new ReaderCreateOptions
{
RegistrationCode = "{{Alpha-Bravo-Charlie}}",
Label = "reader's Name",
Location = "{{tmr_xxx}}",
};
var service = new ReaderService();
service.Create(options);
Why do you have {{ and }} inside RegistrationCode and Location?
Can you put only the value in?
{{}} in example code I thought I had to put a price in there because it was there.
There are no errors now.
Thank you very much for your help!
Have a nice day!!