Skip to content

getMoney() change from public to private breaks 3rd party gateway integration #186

Open
@gdhnz

Description

@gdhnz

Why was getMoney in src/Common/Message/AbstractRequest.php changed from public to private?

In our 3rd party SOAP gateway, we have to send a tax amount along with the amount. To avoid re-inventing the wheel, I used the getMoney method to make sure the tax amount supplied was positive, non-zero etc using all the same rules as for amounts.

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