ePages 7.47.0 - DE_EPAGES/MolliePayments/API/PaymentStatusService.pm

Package DE_EPAGES::MolliePayments::API::PaymentStatusService

Service for Updating Payment Status

Functions

getMollieOrderAndHandleStatus
handleStatusOnPaymentWebhook
new

getMollieOrderAndHandleStatus

Gets Mollie Order information and updates the status and refunds info received.

Syntax
PaymentStatusService->getMollieOrderAndHandleStatus( $LineItemPayment );
Input
LineItemPayment (object)
LineItemPayment
Return
updated Status (String)
String

handleStatusOnPaymentWebhook

Gets a Mollie Status for an OrderId defined in LineItemPayment.

Syntax
DE_EPAGES::MolliePayments::API::PaymentStatusService->handleStatusOnPaymentWebhook( $LineItemPaymentId );
Input
LineItemPaymentId (int)
LineItemPayment Id
Return
MolliePaymentsService (DE_EPAGES::MolliePayments::API::MolliePaymentsService)
object

new

Instantiates a new PaymentStatusService with Epagesj Rest client set.

Syntax
DE_EPAGES::MolliePayments::API::PaymentStatusService->new( %args );
Input
$RequestObject (object)
request object to handle
Return
MolliePaymentsService (DE_EPAGES::MolliePayments::API::MolliePaymentsService)
object