loconomics-au / loconomics

Mozilla Public License 2.0
2 stars 1 forks source link

set up scheduled tasks to run in azure #54

Open samwa opened 3 years ago

samwa commented 3 years ago

Configure scheduled task by running /scheduledtask on the api site Need to run every hour

samwa commented 3 years ago

Also found a bug where the dynamic booking db object doesn't contain field 'PaymentProviderName' Need to add join on providerpaymentaccount to all booking queries

samwa commented 3 years ago

Log of errors that need to be fix on scheduled task Error on: Booking Authorize Postponed Transactions, 24h before Service Starts ... Payment not allowed, error on Braintree 'sale transaction, authorizing only' Error on: Booking Charge Customer, Receive Payment ... Payment not received, error on Braintree 'settle transaction' Error on: Booking Release Payment after 1H to providers ... Not payed on [Release Payment 1H], error on Braintree 'release transaction from escrow'

samwa commented 3 years ago

Need to call scheduled tasks url /scheduledtask as a web job or a scheduled azure function