class ExpirePendingPayment implements ShouldQueue (View source)

오래된 PENDING 결제 1건을 PortOne에 확인하는 큐 잡.

portone:expire-pending이 레코드마다 하나씩 큐에 넣고, 애플리케이션의 큐 워커가 실행한다. 설정 누락·PortOne 실패는 감싸지 않고 전파되어 큐의 실패 잡으로 남는다.

Methods

__construct(string $billableType, string $billableId, string $paymentId)

No description

void
handle(PaymentOperations $operations)

결제 1건의 만료 확인을 실행한다.

Details

__construct(string $billableType, string $billableId, string $paymentId)

No description

Parameters

string $billableType

소유 Billable 모델의 morph 타입

string $billableId

소유 Billable 모델의 키

string $paymentId

PortOne 결제 식별자

void handle(PaymentOperations $operations)

결제 1건의 만료 확인을 실행한다.

Parameters

PaymentOperations $operations

Return Value

void