Skip to content

Conversation

@santanu2310
Copy link

amount should be passed as a positional argument just after paymentId not in data dictionary which is a keyward argument

amount should be passed as a positional argument just after paymentId not in data dictionary which is a keyward argument
Copy link

@akashagg30 akashagg30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the issue is not with documentation but there are 2 definition of refund functions, one with amount argument and one without it.
since python doesn't support function overloading, this is causing the 2nd definition to overwrite the first, leading to this issue.
i have created issue #289 regarding the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants