-
Notifications
You must be signed in to change notification settings - Fork 143
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
CaptureController::doSessionTokenAction should forward request data #427
Comments
I'd say the gateway have to store all data required (including one from request's query) before redirecting to doAction |
I agree, it is better than forwarding those data. Where it should be stored? In session or in payment model? Gateway is not loaded in doSessionTokenAction. |
It is supposed to be stored in payment model and persisted by storage (with a help of storage extension). |
So does that mean that there in doSessionTokenAction should be executed some request on gateway which will store values in payment model and store extension will persist it? |
Sorry I thought the controller called a payum gateway. But it is not. The request has to be proxied with all possible data indeed. and I think if the original request is not GET we have to do a post redirect. |
By "payment gateways" in OP i meant something like Paypal/Stripe/Klarna. In this case is it something like Payeezy/First Data - FIO Banka scheme (it is unclear what is it's real name). So, when it is clear now. Will be this feature in PayumBundle? I'm not sure If I will be able to efectively do proxy request. |
I don't have time to implement it myself though maybe some one else pick this up and do a PR> |
If user is redirected from payment gateway with post or query data, then all values are discarded with redirect to the CaptureController::doAction.
This would be usefull because some payment gateways does not support dynamic return url.
The text was updated successfully, but these errors were encountered: