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

in payment capture function support for currency param added #80

Merged
merged 6 commits into from
Mar 6, 2019

Conversation

rvnew
Copy link
Contributor

@rvnew rvnew commented Feb 25, 2019

@rzpamidi new changes added.

@rzpamidi
Copy link
Contributor

@rvnew , The last argument is a callback in all methods , please don't change that , instead try to do

write the function in such a way that if the third argument is a function , consider it as callback , else check if its a string and try to use it as currency , which would server your case and also ensures Backward compatibility.

@rvnew
Copy link
Contributor Author

rvnew commented Feb 26, 2019

@rzpamidi please check now.

@rvnew
Copy link
Contributor Author

rvnew commented Feb 27, 2019

@rzpamidi please check

@umanghome umanghome merged commit 331f4db into razorpay:master Mar 6, 2019
@umanghome
Copy link
Contributor

Thanks for adding this! This was published in v2.0.4.

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.

4 participants