diff --git a/processor/src/services/paypal-payment.service.ts b/processor/src/services/paypal-payment.service.ts index 418249c..2cd0986 100644 --- a/processor/src/services/paypal-payment.service.ts +++ b/processor/src/services/paypal-payment.service.ts @@ -21,7 +21,6 @@ export type PaypalPaymentServiceOptions = { export class PaypalPaymentService { private ctCartService: CommercetoolsCartService; private ctPaymentService: CommercetoolsPaymentService; - // private allowedCreditCards = ['4111111111111111', '5555555555554444', '341925950237632']; private paypalClient: PaypalPaymentAPI; constructor(opts: PaypalPaymentServiceOptions) { @@ -30,10 +29,6 @@ export class PaypalPaymentService { this.paypalClient = new PaypalPaymentAPI(); } - // private isCreditCardAllowed(cardNumber: string) { - // return this.allowedCreditCards.includes(cardNumber); - // } - public async createPayment(opts: CreatePayment): Promise { const ctCart = await this.ctCartService.getCart({ id: getCartIdFromContext(),