-
Notifications
You must be signed in to change notification settings - Fork 11
Added dynamic callbacks mode functionality #1
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
Conversation
Hi, please use omnipay functions for this: returnUrl, cancelUrl, notifyUrl |
And please show me the docs. i could not found anything in ecoPayz_MIG_2.0.3.pdf. Maybe my one is deprecated |
OnSuccessUrl = returnUrl |
Please check my latest commit |
Thanks. What do you mean on adding request handlers for Cancel and Callback URL? Like CompletePurchaseRequest.php? I think CallbackUrl shares the same request/response, not sure about CancellationUrl. |
Yes, like CompletePurchaseRequest.php. Please find out how CallbackUrl and CancellationUrl work and please test current master branch with "returnUrl", "cancelUrl" and "notifyUrl" |
returnUrl, cancelUrl and notifyUrl added for API 2.0.6
Current master works well. This is EcoPayz response about Callback and Cancellation functionality:
So we can receive CallbackUrl data just using $gateway->completePurchase(); and there is no need to make a response. This is working fine. And CancellationURL is same as TransferUrl, so no need to create new handlers. Can you please add an option to define Callback and Cancellation URLs? |
So CallbackUrl = TransferUrl = notifyUrl? |
Not really |
so CallbackUrl is like TransferUrl but dont need any response? so why we cant use Omnipay NotifyUrl for Callback and Transfer? |
CompletePurchaseRequest will only return a response on the second request for confirmation. The data is the same. My conclusion TransferUrl = CallbackUrl. TransferUrl: CallbackUrl: |
I think we need to keep them different, because there can be different processing logic - logging, applying transaction (only on Callback), etc. |
Please ask the omnipay community how we should handle this: https://github.com/thephpleague/omnipay |
Quick example, just to clarify what I want to achieve Callbacks: http://prntscr.com/btp6iz All I need is these two options. And because it's EcoPayz only functionality and not implemented in Omnipay core, it can be sorted on your repository level. |
I need only TransferUrl for transaction processing. Your example does not makes sense to me. It would be ok when we use omnipay notifyUrl for Transfer and Callback. This would make sense to me. If you insist, please ask omnipay community or the omnipay leader: https://github.com/greydnls |
According to EcoPayz support response the only safe way to process transactions is CallbackUrl. But ok, I'll ask Omnipay |
Thx, Please keep me up 2 date. Ecopayz is paradox. Callback is only the safe way but its not enabled by default. |
[PIWI-7] Add Pinnacle Bundle Approved-by: Jayfer Balecha <jayfer.balecha@zmtsys.com>
No description provided.