-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The difference of data structures in Firestore version and HTTP version can cause confusion for the enduser #24
Comments
It must have been so frustrating to spend a week trying to make it work. I'm really sorry to hear about this. I will quickly check the Firebase version and get back to you. |
One issue I immediately notice is you are putting all the data in a map field named It is mentioned here If it still doesn't work for you, please follow the steps mentioned in this comment and copy the logs here so that we can investigate it further. |
Thank you. I had it like that at first, but then when I downloaded your invoice template, the json was structured like i have it. I will try to place the items at root and see if that works. Thank you so much for the fast reply! |
I see where the problem comes from now; that JSON is to be used for the HTTP extension, not the Firestore extension. I will try to find a way to avoid this misunderstanding. Let's keep this issue open until it is addressed. |
here is the relavent section of my template: ` Date: {{date}}Invoice ID: {{invoiceId}}Bill to{{billContactName}}
{{billClientCompany}}
{{billAddress}}
{{billPhone}}
{{billEmail}}
Ship to{{shipNameOrDept}}
{{shipClientCompany}}
{{shipAddress}}
{{shipPhone}}
SUBTOTAL
${{subtotal}}
DISCOUNT
${{discount}}
TAX RATE
{{taxRate}}%
TOTAL TAX
${{totalTax}}
BALANCE DUE
${{total}}
|
I'm going to try to completely uninstall the extension and reinstall. Should I increase the memory allocated for the function? It seems 1g should be plenty |
I'm not sure if reinstalling helps. Btw, the issue is with your template file, the zip file, if it doesn't have any private information in it, you can share it here and I will check it for you. |
Thank you. Here it is. |
Oh my goodness. And I looked at that a thousand times. Thank you so much! |
Too much debugging makes me dislexic :( |
Works perfect now, thank you so much. Now I'm going to see if you guys have a good solution for online signinh. |
sorry i was tired. so embarrasing but you are a refreshing example of a great person |
maybe just comment some code under the json, e.g, //if you are using firebase documents, structure it like this... |
I'm glad you can eventually use it, let's keep this issue open until I update documentation if it's ok with you. |
Could anyone be so kind as to point out to me any mistake in the way I am structuring this firestore doc, as to the config and chrome options? I canot seem to get this extension to work and have gone over it for a week? Any help would be much appreciated.
![scrnli_2_2_2024_12-49-07 PM](https://private-user-images.githubusercontent.com/62707165/301928150-90ed2b74-2082-4326-a371-cdc74dcb5481.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzNDg1NTMsIm5iZiI6MTcxOTM0ODI1MywicGF0aCI6Ii82MjcwNzE2NS8zMDE5MjgxNTAtOTBlZDJiNzQtMjA4Mi00MzI2LWEzNzEtY2RjNzRkY2I1NDgxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI1VDIwNDQxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxMmU1ZDhmNjY2ZjI2NDU1OTU4MzRjYTZhNWZjNzNmZmNkOTUwNTU2OGJjNzlhNDZhM2Y2ODgxZGE2ZTczNmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Q2QQNuUkmKSEqEG3YzcU8LRG5lza_CoLGSjzcXxRwlM)
The text was updated successfully, but these errors were encountered: