#1000ml

1 messages · Page 1 of 1 (latest)

vagrant fieldBOT
simple dust
#

It seems like you're calling the pricing table API using your client-side code, what's the usecase here?

celest plover
#

To show the pricing table in our app allowing our users to upgrade

#

This works perfectly fine in our "test" environment

simple dust
celest plover
#

We can change our code for this, but why would this work in "test"? Does "test" not require a secret key?

simple dust
#

No idea why its working in test mode, it shouldn't.

Are you following a guide for this flow? If so, can you share the link?

celest plover
#

We believed that we had, however it seems our frontend devs did something different?!?!

vagrant fieldBOT
simple dust
#

Yeah I don't know what they did, if they used the secret API keys client-side then that's a security risk

celest plover
#

Ok, we'll update.

Another (hopefully really quick) question... Is it possible to copy / migrate "test" data over to "live"? Specifically things such as a pricing table?

celest plover
simple dust
#

Another (hopefully really quick) question... Is it possible to copy / migrate "test" data over to "live"? Specifically things such as a pricing table?
I think you can copy the products/prices using the dashboard

#

Don't think you can copy the whole table though

celest plover
#

Ok, was trying to get the table over. I'll have to recreate 😄