Skip to content

telecheck_purchase fails trying to cast an array to a string #10

@consolibyte

Description

@consolibyte

Error: strtolower() expects parameter 1 to be string, array given

If you call this method:
telecheck_purchase(...)
https://github.com/payeezy/payeezy_direct_API/blob/master/payeezy_php/example/src/Payeezy.php#L851

It tries to cast the array payload you passed in using strtolower() here:
https://github.com/payeezy/payeezy_direct_API/blob/master/payeezy_php/example/src/Payeezy.php#L440

Result is that telecheck_purchase transactions do not work at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions