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

payment_method_id can be string or null #77

Merged

Conversation

tpetry
Copy link
Contributor

@tpetry tpetry commented Sep 18, 2024

The API docs state that the payment_method_id can be a string or null - but the PHP code only expects a string.

The value is null when e.g. the payment amount has been reduced to zero by a discount.

The API docs state that the payment_method_id can be a `string` or `null` - but the PHP code only expects a string.

The value is `null` when the payment amount has been reduced to zero by a discount.
@tpetry tpetry requested a review from a team as a code owner September 18, 2024 06:42
@davidgrayston-paddle
Copy link
Contributor

Hello @tpetry 👋 - thank you for contributing this fix, we will include this in the next minor release that we plan to release shortly.

@davidgrayston-paddle davidgrayston-paddle merged commit 3935bf3 into PaddleHQ:main Sep 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants