Skip to content
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

PW-1556 execute notifications #21

Merged
merged 2 commits into from
Oct 2, 2019
Merged

PW-1556 execute notifications #21

merged 2 commits into from
Oct 2, 2019

Conversation

cyattilakiss
Copy link
Contributor

@cyattilakiss cyattilakiss commented Sep 26, 2019

  • Add new admin controller which the cronjob can use to process
    notifications
  • Rename notificationProcessor to notificationReceiver because it
    handles receiving and saving notifications
  • Fix for ajaxRender: exit after rendering
  • Fix for ajaxRender: set this->ajax to true by default
  • Fix for try catches: if catch triggered, return something ot exit to
    prevent errors
  • Create Configuration class for global settings
  • Fix for link generation: burnt in links are not working since
    friendly url setting overwrites the default url structure and triggers
    error when trying to open an 'old' link
  • add installTab and createCronJobToken to upgrade 1.0.1
  • process authorisation notifications - adding a message if processed
  • expose admin controller for cron jobs to call

notifications
 - Rename notificationProcessor to notificationReceiver because it
 handles receiving and saving notifications
 - Fix for ajaxRender: exit after rendering
 - Fix for ajaxRender: set this->ajax to true by default
 - Fix for try catches: if catch triggered, return something ot exit to
 prevent errors
 - Create Configuration class for global settings
 - Fix for link generation: burnt in links are not working since
 friendly url setting overwrites the default url structure and triggers
 error when trying to open an 'old' link
 - add installTab and createCronJobToken to upgrade 1.0.1
 - process authorisation notifications - adding a message if processed
 - expose admin controller for cron jobs to call
@cyattilakiss cyattilakiss changed the title [WIP] PW-1556 execute notifications PW-1556 execute notifications Sep 30, 2019
helper/Configuration.php Outdated Show resolved Hide resolved
adyen.php Outdated Show resolved Hide resolved
'hint' => $this->l('Must correspond to the notification HMAC Key in the Adyen Backoffice under Settings => Notifications => Additional Settings => HMAC Key (HEX Encoded)')
),
array(
'type' => 'password',
'label' => $this->l('Secure token for cron job'),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the other options discuss wioth grant if we should remove the required label

controllers/FrontController.php Outdated Show resolved Hide resolved
controllers/admin/AdminAdyenPrestashopCronController.php Outdated Show resolved Hide resolved
service/notification/NotificationProcessor.php Outdated Show resolved Hide resolved
service/notification/NotificationProcessor.php Outdated Show resolved Hide resolved
service/notification/NotificationProcessor.php Outdated Show resolved Hide resolved
 - Don't use Tools::encrypt but use our helpers encrypt function
 - getPageLink correct usage: pass the get parameters as a parameter for
 the function
 - Move Configuration under servive
 - Use $this->ajax only in version 1.6
 - Performance optimisations
 - Skip report notifications - do not save them in the database
 - Show adyen notification process url in the settings
adyen.php Show resolved Hide resolved
@cyattilakiss cyattilakiss merged commit 4d47136 into develop Oct 2, 2019
@cyattilakiss cyattilakiss deleted the PW-1556 branch October 8, 2019 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants