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

Customer IP address needed from RequestContext #581

Closed
s3m3n opened this issue Dec 7, 2020 · 0 comments
Closed

Customer IP address needed from RequestContext #581

s3m3n opened this issue Dec 7, 2020 · 0 comments

Comments

@s3m3n
Copy link

s3m3n commented Dec 7, 2020

PayU payment provider requires to pass customer's IP address on the payment registration process. There is no way of getting it inside of PaymentMethodHandler.

As PaymentMethodHandler passes RequestContext to the createPayment method the best way would be getting there Request object with remoteAddress.

As discussed on Slack.

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

No branches or pull requests

2 participants