Skip to content

error in example code? #8

@Odido

Description

@Odido

Hi,
thank you very much for this great tool. Up to now it seems to work as it should.

But I think there is an error in your example code:
$payment->setDate(new \DateTime('+1 day')); // Gewuenschter Ausfuehrungstermin
does not work - string expected! I suggest using this:
$date = new \DateTime('+1 day');
$payment->setDate($date->format("Y-m-d")); // Gewuenschter Ausfuehrungstermin

Furthermore one day is probably too short. At least for my bank.

Have a nice day
Oliver

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions