Skip to content

[$40] Ability to switch off actual payments on PROD #201

Closed
@maxceem

Description

@maxceem

When we create payment records using API POST /work-period-payments the actual payment would be created https://github.com/topcoder-platform/taas-apis/blob/dev/src/services/WorkPeriodPaymentService.js#L99-L105.

During testing on PROD we would like to be able to disable the actual payment processing.

Task

Unit test

Create unit tests to check this:

  • should not create actual payment when "PAYMENT_PROCESSING_SWITCH" if "OFF"
  • should create actual payment when "PAYMENT_PROCESSING_SWITCH" is "ON"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions