Document toolboxDocument toolbox

(2024.2) Process Payment Batch Event

The Process Payment Batch Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.

Process Payment Batch
/**
* Event: Process Payment Batch 
* Listener Class: Application_Model_Payment_PaymentBatch
* Listener Method: eventProcessBatch
*/  

PCR_Event::attachDb(
	"process-payment-batch", 
	["Application_Model_Payment_PaymentBatch" => "eventProcessBatch"]
);
PCR_Event::trigger(
	"process-payment-batch", 
	[
		"BATCH_RECID" => "1",

		"eventBroadcastBy" => "216121",
		"eventBroadcastTime" => "Oct 4, 2022, 10:08 am",
		"eventBroadcastDayofWeek" => "2",
		"eventBroadcastHourMin" => "1008",
	]
);