Skip to content

Token not invalidated when using a ReplyInterface #529

@Prometee

Description

@Prometee

Writing some Behat tests for a Stripe gateway, I found that each generated capture tokens were never been invalidated.

Reading the documentation of payum/payum about capture.php and how payum/payum-bundle is handling a capture : https://github.com/Payum/PayumBundle/blob/master/Controller/CaptureController.php#L42-L44
It appears that if a gateway is using a ReplyInterface then the invalidation of the capture token is not made.

Is it a mistake or something wanted ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions