So I have this mashed up and "working" (reading from my gmail and from an orders_amazon table I created in the zen-cart db)
However, it doesn't automatically create the token.json file as it should. I have to use the google gmail api quickstart to generate it and then move it to the right location.
so the left column here's when it only worked reading from my gmail w/ the api (branch 6
https://github.com/wolfderby/gmailTu...d_of_episode_6) from
https://www.youtube.com/watch?v=fUm5ddL7bG8
the right column is me trying to put it into the zen-cart design pattern.
... in ... /amazon_gmail_orders/ >>> ... in ... /admin
/amazon_gmail_orders/index.php >>> amazon_gmail_orders.php
Composer.json >>> admin/composer.json
connection.php >>> includes/classes/yoyo_connection.php
credentials.json >>> includes/classes/credentials.json
gmail.php >>> includes/classes/yoyo_gmail.php
token.json >>> includes/classes/token.json
/vendor/ >>> includes/classes/vendors/gmail/vendor/
Bookmarks