From 1ca59760b7bc7f7712be151935f9fa4da00375c5 Mon Sep 17 00:00:00 2001 From: fbett Date: Tue, 12 Dec 2023 10:54:40 +0100 Subject: [PATCH] fix(Direct Debit Sample): #418 Invalid protected method called --- Samples/directDebit_Sephpa.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/directDebit_Sephpa.php b/Samples/directDebit_Sephpa.php index 9f325c6b..a3c076de 100644 --- a/Samples/directDebit_Sephpa.php +++ b/Samples/directDebit_Sephpa.php @@ -42,7 +42,7 @@ * https://github.com/AbcAeffchen/Sephpa * */ -$xml = $directDebitFile->generateXml(date("Y-m-d\TH:i:s", time())); +$xml = $directDebitFile->generateOutput(['zipToOneFile' => false])[0]['data']; $sendSEPADirectDebit = \Fhp\Action\SendSEPADirectDebit::create($oneAccount, $xml); $fints->execute($sendSEPADirectDebit);