-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement recurring payments #1909
Conversation
Setup recurring payments job
…get the latest version without having to publish it
packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js
Outdated
Show resolved
Hide resolved
packages/sales-api-service/src/services/transactions/process-transaction-queue.js
Outdated
Show resolved
Hide resolved
packages/sales-api-service/src/services/recurring-payments.service.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing, plus did you create the ticket I asked about here: #1909 (comment)?
/** | ||
* Process a recurring payment instruction | ||
* @param transactionRecord | ||
* @returns {Promise<{recurringPayment: null}>} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't quite what I said. In the @returns comment, you're specifying the type of the return value. What you're saying here is that it returns a Promise that resolves to an object with the key recurringPayment
that is always null.
|
Setup recurring payments job