Skip to content

Feature/cvc and ts config#9

Open
KiLanger wants to merge 10 commits intomainfrom
feature/CVCAndTSConfig
Open

Feature/cvc and ts config#9
KiLanger wants to merge 10 commits intomainfrom
feature/CVCAndTSConfig

Conversation

@KiLanger
Copy link
Collaborator

  • Added CVC to payment registration with payment provider
  • Made TS config more strict and fixed upcoming issues
  • Added exposed configuration and retries for requests to simulation service

@KiLanger KiLanger self-assigned this May 28, 2024
Copy link
Contributor

@nk-coding nk-coding left a comment

Choose a reason for hiding this comment

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

sry that it took so long

DATABASE_URI: mongodb://payment-db:27017
DATABASE_NAME: misarch
SIMULATION_URL: http://simulation:8080
PAYMENT_PROVIDER_URL: http://simulation:8080/payment/register
Copy link
Contributor

Choose a reason for hiding this comment

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

didn't we discuss to move this to infrastructure-docker instead?

import { RejectionReason } from './order-rejection-reason';
import { OrderItemDTO } from './order-item.dto';

export class PaymentAuthorization {
Copy link
Contributor

Choose a reason for hiding this comment

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

docs

switch (paymentMethod) {
case PaymentMethod.CREDIT_CARD:
return this.creditCardService.create(id, amount);
if (!paymentAuthorization) { throw new Error('Authorization missing') }
Copy link
Contributor

Choose a reason for hiding this comment

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

newlines pls

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.

2 participants