Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Use transaction status to decide if payment can_void? #109

Merged
merged 2 commits into from
Oct 11, 2017

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 17, 2017

As the transaction status changes asynchronously to the payment state,
we need to ask the transaction if its status has a voidable state,
to decide if a payment can be voided or not.

tvdeyen added 2 commits July 27, 2017 13:45
As the transaction status changes asynchronously to the payment state,
we need to ask the transaction if its status has a voidable state,
to decide if a payment can be voided or not.
We need to record the check for current transaction status in the vcr cassettes.
@tvdeyen tvdeyen force-pushed the only-void-if-voidable branch from 06ae605 to f46f97e Compare July 27, 2017 11:54
@adammathys adammathys merged commit 8c9805b into solidusio:master Oct 11, 2017
@tvdeyen tvdeyen deleted the only-void-if-voidable branch March 29, 2018 10:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants