feat(medusa-payment-stripe): Stripe PaymentProcessor implementation (#3257)
This commit is contained in:
@@ -27,6 +27,7 @@ export interface ICartCompletionStrategy {
|
||||
}
|
||||
|
||||
export abstract class AbstractCartCompletionStrategy
|
||||
extends TransactionBaseService
|
||||
implements ICartCompletionStrategy
|
||||
{
|
||||
abstract complete(
|
||||
|
||||
@@ -33,11 +33,6 @@ export interface PaymentProcessor {
|
||||
*/
|
||||
getIdentifier(): string
|
||||
|
||||
/**
|
||||
* Used to initialise anything like an SDK or similar
|
||||
*/
|
||||
init(): Promise<void>
|
||||
|
||||
/**
|
||||
* Initiate a payment session with the external provider
|
||||
*/
|
||||
@@ -147,8 +142,6 @@ export abstract class AbstractPaymentProcessor implements PaymentProcessor {
|
||||
return ctr.identifier
|
||||
}
|
||||
|
||||
abstract init(): Promise<void>
|
||||
|
||||
abstract capturePayment(
|
||||
paymentSessionData: Record<string, unknown>
|
||||
): Promise<
|
||||
|
||||
Reference in New Issue
Block a user