Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Process Payment Batch
Code Block
languagephp
titleProcess Payment Batch
linenumberstrue
/**
* 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",
	]
);

...