Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: v2 with money object, strict types, type hints #63

Merged
merged 27 commits into from
Dec 30, 2020
Merged

Conversation

PavelJurasek
Copy link
Collaborator

Feel free to test v2 branch and report any bugs. I'll do some testing myself on my own project.

You may need to change your config.neon and make sure parameters goId, clientId and clientSecret are strings.

amount passed to Payment and other API objects must be passed as instance of Money\Money, currency is not used anymore as it is part of the money object itself.

closes #38 #40

.docs/README.md Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
@f3l1x
Copy link
Member

f3l1x commented Dec 26, 2020

I think we can merge it, if you're ok with that, please merge it. :-)

@PavelJurasek PavelJurasek merged commit 250cb2b into master Dec 30, 2020
@PavelJurasek PavelJurasek mentioned this pull request Dec 30, 2020
@f3l1x f3l1x deleted the v2 branch July 6, 2022 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Wrong type used for price amounts
2 participants