Comments (17)
If you use the vercel cli you can use this vercel env pull .env.local
super easy and the right keys at once
from commerce.
https:>UI_+bot+link//api_run
from commerce.
The store front api and url you will get from stencil that means front end api under advanced settings get api token dropdown.
Hi and thank you for helping.
What do you mean with stencil? I cant find anything named stencil in the big commerce dashboard.
Also API seemed to be changed as you now make API users and those get the file I mentioned earlier.
Could you elaborate with what is the different meaning of STORE and STOREFRONT and where do I find API and token for each of them them?
from commerce.
Hi. I need some help. I linked my project by vercel link
and still vercel env pull .env.local
generates an empty env.local file.
Do I need to do anything else to make it work?
from commerce.
Hi. I need some help. I linked my project by
vercel link
and stillvercel env pull .env.local
generates an empty env.local file.Do I need to do anything else to make it work?
I have the same issue here
from commerce.
Add these lines but i am trying to find store front api url and store front api token.
BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=
from commerce.
Hi
Where can I find these settings?
BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=
After creating an API user I get a file with:
ACCESS TOKEN:
CLIENT ID:
CLIENT SECRET:
NAME:
API PATH:
adding the API path as both URLs, token as both tokens and id as id does not seem to work as the application crashes on launch without being able to read the message.
TypeError: Cannot read property 'message' of undefined in the store front api hooks.
from commerce.
Hi
Where can I find these settings?
BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=
After creating an API user I get a file with:
ACCESS TOKEN: is BIGCOMMERCE_STORE_API_TOKEN
CLIENT ID:
CLIENT SECRET:
NAME:
API PATH:
adding the API path as both URLs, token as both tokens and id as id does not seem to work as the application crashes on launch without being able to read the message.
TypeError: Cannot read property 'message' of undefined in the store front api hooks.You just need to find these values from bigcommerce there are two options one is stencil and api token under advanced settings in big commerce dashboard copy from there and set values here then it works
ACCESS TOKEN: is BIGCOMMERCE_STORE_API_TOKEN
from commerce.
Can anybody tell me where the env values are actually being used/called in the code?
from commerce.
save this in .env.local file on the root project.
from commerce.
Hi
Where can I find these settings?BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=After creating an API user I get a file with:
ACCESS TOKEN:
CLIENT ID:
CLIENT SECRET:
NAME:
API PATH:adding the API path as both URLs, token as both tokens and id as id does not seem to work as the application crashes on launch without being able to read the message.
TypeError: Cannot read property 'message' of undefined in the store front api hooks.
You just need to find these values from bigcommerce there are two options one is stencil and api token under advanced settings in big commerce dashboard copy from there and set values here then it works
from commerce.
Hi
Where can I find these settings?
BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=
After creating an API user I get a file with:
ACCESS TOKEN: is BIGCOMMERCE_STORE_API_TOKEN
CLIENT ID:
CLIENT SECRET:
NAME:
API PATH:
adding the API path as both URLs, token as both tokens and id as id does not seem to work as the application crashes on launch without being able to read the message.
TypeError: Cannot read property 'message' of undefined in the store front api hooks.You just need to find these values from bigcommerce there are two options one is stencil and api token under advanced settings in big commerce dashboard copy from there and set values here then it works
from commerce.
The store front api and url you will get from stencil that means front end api under advanced settings get api token dropdown.
from commerce.
1+13+[Data]>com_droid_httph://**+access=rum+HTML+downloading droid_device{148+mb}°=
Access_™granted//UI*+=loading_//infu_+device🦇🔯∆=//@@@@@@@@@@+++++>>>>>copy paste+////🔯✡️☯️🎭_1.2.3.4_+(data)+com_droid.//access cam+droid+space data_+download [>lost date+of+the+device_//droid access_granted_//UI-+granted*_+//start
from commerce.
Hi
Where can I find these settings?
BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=
After creating an API user I get a file with:
ACCESS TOKEN: is BIGCOMMERCE_STORE_API_TOKEN
CLIENT ID:
CLIENT SECRET:
NAME:
API PATH:
adding the API path as both URLs, token as both tokens and id as id does not seem to work as the application crashes on launch without being able to read the message.
TypeError: Cannot read property 'message' of undefined in the store front api hooks.You just need to find these values from bigcommerce there are two options one is stencil and api token under advanced settings in big commerce dashboard copy from there and set values here then it works
ACCESS TOKEN: is BIGCOMMERCE_STORE_API_TOKEN
Thanks for the help - so many inconsistencies in the variable names here it's giving me a real headache!
from commerce.
Can anybody tell me how to get the BIGCOMMERCE_STOREFRONT_API_TOKEN - the instructions are non-existent on the BigCommerce site - there is some obscure reference to making an API call to get the token here:
https://developer.bigcommerce.com/api-reference/store-management/tokens/api-token/createtoken
- but no instructions on how :(
Thanks
Terry
from commerce.
So, after linking via the Vercel CLI -
vercel env pull .env.local
- worked for me, however, the CLIENT ID and BIGCOMMERCE_STORE_API_TOKEN are different from the ones downloaded from BigCommerce - I swapped them out for the ones I downloaded from Bigcommerce and yes, it's still working locally - however, I've got a feeling that the BIGCOMMERCE_STOREFRONT_API_TOKEN (the main variable I had trouble getting due to the atrocious docs on BC) is wrong and may cause problems in the future. It is now working locally for me - but for how long I'm not sure - hope this helps someone, if at least temporarily.
from commerce.
Related Issues (20)
- Feature Request: Change Price and Image when selecting variant HOT 2
- GraphQl descriptionHtml vs Webhook API body_html
- Home page elements on https://demo.vercel.store HOT 7
- Branding changes do not reflect HOT 2
- Wrong navigation/pages path HOT 1
- Cost marking all components edge rundtime? HOT 2
- Overflowed Search on Tablet HOT 2
- How to add product metafield data HOT 2
- Proceeding to checkout gives 500 [GET] /cart/c/c1-abcd?key=1234 status=500 HOT 5
- View Page/Product always gives 500 HOT 3
- getCollectionProducts always get 500, SocketError: other side closed
- Slow loading of images on product page HOT 2
- Code for Cart Discount
- Implementation of Shopify analytics HOT 1
- Products not showing in category page
- Hidden: Homepage Featured Items not reflecting on live site HOT 2
- Error in Add to Cart and Edit Cart Form HOT 1
- sitemap.xml & robots.txt points to Vercel's domain HOT 1
- Error cloning and deploying
- Vercel Deploy fails to build
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 commerce.