#omar triki - help

1 messages ยท Page 1 of 1 (latest)

fiery axle
#

Hi ๐Ÿ‘‹

#

What kind of help?

north juniper
#

i don't know why thr API key doesn't work

#

can i call you to help me with it ?

#

i'm really struggling

fiery axle
#

What are you trying to do with it?

north juniper
#

adding a product in product catalog

#

if you can help me I'll be so grateful to you

fiery axle
#

If you can share the code you are using to add this product I may be able to help

north juniper
#

ok I'm using Django

#

that's my project

#

if you execute the test it'll give you the error

fiery axle
#

Yeah I won't be able to work with that here. Could you just drop a snippet in this chat using the triple backtick (`) to provide some code formatting?

north juniper
#

ok

fiery axle
#

The first thing I would suggest you try, is logging stripe.api_key just before you attempt the stripe..Product.create API call

north juniper
#

i did

#

in test mode

fiery axle
#

And does that API key match what you see in your dashboard?

north juniper
#

i created a restricted API key

fiery axle
#

Does that API key have the access to create a product?

north juniper
#

yeah

fiery axle
north juniper
#

i think i solve it

#

i don't know how

#

but it works

#

๐Ÿคฃ

fiery axle
#

๐Ÿ‘

north juniper
#

and i don't know how hhhhhhhhhhh

fiery axle
#

Some times just talking things through gets you there

north juniper
#

seriously

#

programming makes you see strange things

#

weirder than your life

fiery axle
#

Well feel free to come back if you have other questions