Skip to content

cancel payment and order when charge amount is not same as order gran…#43

Open
mahbub-zip wants to merge 4 commits intomasterfrom
fix/check-charge-amount-n-order-amount
Open

cancel payment and order when charge amount is not same as order gran…#43
mahbub-zip wants to merge 4 commits intomasterfrom
fix/check-charge-amount-n-order-amount

Conversation

@mahbub-zip
Copy link
Copy Markdown
Contributor

…d total amount

$charge->getAmount(),
$messageWithAmount
);
// doing refund if the amount is captured by the charge api
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a check that the charge has been made? as this looks like will call refund irrespective? Is this the correct/safe behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants