Skip to content

Commit

Permalink
wip: save point
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonogwuru committed Feb 23, 2024
1 parent 4fc438e commit 8176764
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions processor/src/services/paypal-payment.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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<PaymentResponseSchemaDTO> {
const ctCart = await this.ctCartService.getCart({
id: getCartIdFromContext(),
Expand Down

0 comments on commit 8176764

Please sign in to comment.