Skip to content
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

Add ability to change the status of an order according to the 3DS protocol #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Apr 26, 2017

Replace "Order status when payment accepted by Cybermut" parameter with 5 new options.
Each value of the 3DSecure flag can lead to a different order status.

image

Based on Cybermut documentation

@@ -176,7 +201,10 @@ public function notifyAction()
$order->unhold();
}

if (!$status = $model->getConfigData('order_status_payment_accepted')) {
if (!$status = $model->getConfigData($orderStatusPaymentAccepted)) {
$status = $model->getConfigData('order_status_payment_accepted');
Copy link
Author

Choose a reason for hiding this comment

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

For compatibility purpose

@ghost
Copy link
Author

ghost commented May 22, 2017

Up

@lrosset
Copy link

lrosset commented Dec 13, 2017

Great one. Any developer from QuadraInformatique here?

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.

1 participant