#Kade

1 messages · Page 1 of 1 (latest)

spare badgeBOT
valid flower
#

Hi, how can we help?

simple canyon
#

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?

#

First, I enter RegistrationCode = "[{Alpha-Bravo-Carlie}]",

valid flower
#

Please remove the sk_test key

simple canyon
#

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?

valid flower
#

Can you provide the Doc you are following?

simple canyon
#

I follow this Doc

valid flower
#

Hmm the code looks fine

#

Did you create the location Id?

simple canyon
#

New location id?

#

i did

#

Is the location ID value the location name?

valid flower
#

it' something like tmr_xxx

simple canyon
#

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);
valid flower
#

Why do you have {{ and }} inside RegistrationCode and Location?

#

Can you put only the value in?

simple canyon
#

{{}} 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!!