Skip to content

(fix): Supermind Requests expired refunds minds#3493

Fausto Arcidiacono requested to merge fix/supermind-token-refund-3493 into master

Ticket(s) / Related Merge Requests

minds#3493

Summary of Changes

Added refund in supermind expire cronjob code and added new method to retroactively fix the expired supermind requests that have not been refunded, specifically tokens as those were the offers affected.

Testing Considerations

Deployment Considerations

  • The new db table supermind_refunds must be added to the production DB prior to any other step.
  • a one off execution of
    php cli.php Supermind ExpireSupermindRequests fix
    must be performed directly in production to retroactively refund the already expired offers
  • The cronjob which is already scheduled will be updated by the changes in this MR so the future supermind requests marked as expired will now be properly refunded.

Regression Scope

Platform Affected (web, mobile, etc)

Engine

Developer Testing Completed

Screenshots / Screen Recording

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out

Merge request reports