-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Payment state canceled #372
Comments
I believe the cancellation of a payment gateway payment is referred to as VOID, but I would also like some clarification on all the payment states (currently working on this part myself). @pjedrzejewski could you briefly outline how you wanted payment states to work, and if you could, also elaborate on the role of the payment source interface? I realize that the payment bundle is probably quite WIP because of the pending Omnipay/Payum integration, and I am happy to help out if you give me some direction. |
Just to clarify: [PoC] Sylius payum integration I am working on already contains example of status handling. You could find it usage in PurchaseStep::forwardAction() method. |
The PaymentInterface::VOID constant was added. Any canceled payments endup with state @pjedrzejewski I think it could be closed (Can I close or only you manage PR\Issues?) |
@makasim TBH. Will close after the |
@stloyd I personally prefer |
will it be available in latest sylius? |
@aniltc it already implemented: https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/PaymentsBundle/Model/PaymentInterface.php#L28. and you use payum it should set correct status when a user cancel a payment. Do you face any problems somewhere? |
Closing as it's implemented in core. @aniltc If you have issue with it please open new issue about with details what's wrong. |
[API] Authorization api docs update. New shipping categories doc
As far as i can see there is no payment state for payments who has been canceled. This might come in handy for the admin of the webshop, so he can see how many people start the transaction but cancel it.
The text was updated successfully, but these errors were encountered: