You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a very frustrating time edit/debugging Order PDFs (Using Snapshot +. Stripe Payments).
A few things:
Stripe Payments Order PDF Template Field in the settings doesn't work if you add the .twig extension
Override file - this option doesn't appear to work, or there seems to be some sort of cache in place because when i make a change to the order pdf template and check, the order template rendered doesn't reflect the changes I have made, only after a period of time.
If I delete a PDF from my assets folder, It will regenerate it as expected, but it will use and old cached version which doesn't exist, even If i completely empty the pdf template and make it blank, it will somehow regenerate it from a old version - i have tried clearing craft data cache too.
I'm unable to render fields from my Globals in the templates e.g. {{ global.customField }}
This error appears in my logs each time a PDF is viewed. even if the pdf template is a blank file, it will log this error.
2023-08-11 10:37:10 [-][1][-][warning][craft\models\FieldLayoutTab::init] Invalid field layout element config: Invalid field UID: 533a0dd2-60b5-40f5-bdc6-de13b655a97a
2023-08-11 10:37:10 [-][1][-][error][yii\base\InvalidArgumentException] yii\base\InvalidArgumentException: Invalid field UID: 533a0dd2-60b5-40f5-bdc6-de13b655a97a in /home/runcloud/webapps/masterclass/app/craft/vendor/craftcms/cms/src/fieldlayoutelements/CustomField.php:109
If you're able to help with the above, or let me know what I am doing wrong that would be great - as I am literally spending hours trying to work around this :)
Thanks!
Additional info
Craft version: 3.8.16
PHP version: 7.4.33
Snapshot version: 1.2.9
Stripe Payments version: 4.1.2 Lite
The text was updated successfully, but these errors were encountered:
about the cache issue, could you please try to pass a dynamic name for example that includes the time with milliseconds? what is the current value of Stripe Payments Order Filename Format on your settings?
Description
I'm having a very frustrating time edit/debugging Order PDFs (Using Snapshot +. Stripe Payments).
A few things:
{{ global.customField }}
If you're able to help with the above, or let me know what I am doing wrong that would be great - as I am literally spending hours trying to work around this :)
Thanks!
Additional info
The text was updated successfully, but these errors were encountered: