diff --git a/adyenv6b2ccheckoutaddon/resources/adyenv6b2ccheckoutaddon.build.number b/adyenv6b2ccheckoutaddon/resources/adyenv6b2ccheckoutaddon.build.number index 4ecadfa46..4b6128f04 100644 --- a/adyenv6b2ccheckoutaddon/resources/adyenv6b2ccheckoutaddon.build.number +++ b/adyenv6b2ccheckoutaddon/resources/adyenv6b2ccheckoutaddon.build.number @@ -7,5 +7,5 @@ module.name=platform-module name=adyenv6b2ccheckoutaddon releasedate=20170509 1903 vendor=adyen -version=6.1.0 -version.api=6.1.0 \ No newline at end of file +version=6.1.1 +version.api=6.1.1 \ No newline at end of file diff --git a/adyenv6backoffice/resources/adyenv6backoffice.build.number b/adyenv6backoffice/resources/adyenv6backoffice.build.number index 92d548692..d9026cb8d 100644 --- a/adyenv6backoffice/resources/adyenv6backoffice.build.number +++ b/adyenv6backoffice/resources/adyenv6backoffice.build.number @@ -7,5 +7,5 @@ module.name=platform-module name=adyenv6backoffice releasedate=20170509 1903 vendor=adyen -version=6.1.0 -version.api=6.1.0 \ No newline at end of file +version=6.1.1 +version.api=6.1.1 \ No newline at end of file diff --git a/adyenv6core/resources/adyenv6core.build.number b/adyenv6core/resources/adyenv6core.build.number index b93d76ece..d3694486d 100644 --- a/adyenv6core/resources/adyenv6core.build.number +++ b/adyenv6core/resources/adyenv6core.build.number @@ -6,5 +6,5 @@ group.id=com.adyen.v6 module.name=platform-module name=adyenv6core vendor=adyen -version=6.1.0 -version.api=6.1.0 \ No newline at end of file +version=6.1.1 +version.api=6.1.1 \ No newline at end of file diff --git a/adyenv6core/src/com/adyen/v6/constants/Adyenv6coreConstants.java b/adyenv6core/src/com/adyen/v6/constants/Adyenv6coreConstants.java index 48f87a8e7..3d0bbfc0c 100644 --- a/adyenv6core/src/com/adyen/v6/constants/Adyenv6coreConstants.java +++ b/adyenv6core/src/com/adyen/v6/constants/Adyenv6coreConstants.java @@ -31,7 +31,7 @@ public final class Adyenv6coreConstants extends GeneratedAdyenv6coreConstants { public static final String EXTENSIONNAME = "adyenv6core"; public static final String PLUGIN_NAME = "adyen-hybris"; - public static final String PLUGIN_VERSION = "6.1.0"; + public static final String PLUGIN_VERSION = "6.1.1"; public static final String PAYMENT_PROVIDER = "Adyen"; public static final String PAYMENT_METHOD ="paymentMethod"; diff --git a/adyenv6core/src/com/adyen/v6/facades/DefaultAdyenCheckoutFacade.java b/adyenv6core/src/com/adyen/v6/facades/DefaultAdyenCheckoutFacade.java index 9573fa770..25ac478e0 100644 --- a/adyenv6core/src/com/adyen/v6/facades/DefaultAdyenCheckoutFacade.java +++ b/adyenv6core/src/com/adyen/v6/facades/DefaultAdyenCheckoutFacade.java @@ -507,6 +507,8 @@ private void updateCartWithSessionData(CartData cartData) { getSessionService().removeAttribute(SESSION_SF_EXPIRY_YEAR); getSessionService().removeAttribute(SESSION_SF_SECURITY_CODE); getSessionService().removeAttribute(SESSION_CARD_BRAND); + getSessionService().removeAttribute(PAYMENT_METHOD); + getSessionService().removeAttribute(SESSION_PAYMENT_DATA); } @Override diff --git a/adyenv6fulfilmentprocess/resources/adyenv6fulfilmentprocess.build.number b/adyenv6fulfilmentprocess/resources/adyenv6fulfilmentprocess.build.number index 6e56836d1..4705985ac 100644 --- a/adyenv6fulfilmentprocess/resources/adyenv6fulfilmentprocess.build.number +++ b/adyenv6fulfilmentprocess/resources/adyenv6fulfilmentprocess.build.number @@ -6,5 +6,5 @@ group.id=com.adyen.v6 module.name=platform-module name=adyenv6fulfilmentprocess vendor=adyen -version=6.1.0 -version.api=6.1.0 +version=6.1.1 +version.api=6.1.1 diff --git a/adyenv6notification/resources/adyenv6notification.build.number b/adyenv6notification/resources/adyenv6notification.build.number index e4a80cf5a..2390d6ae2 100644 --- a/adyenv6notification/resources/adyenv6notification.build.number +++ b/adyenv6notification/resources/adyenv6notification.build.number @@ -5,5 +5,5 @@ description=adyenv6notification name=adyenv6notification releasedate=20170803 1323 vendor=adyen -version=6.1.0 -version.api=6.1.0 +version=6.1.1 +version.api=6.1.1 diff --git a/adyenv6ordermanagement/resources/adyenv6ordermanagement-process-definitions-spring.xml b/adyenv6ordermanagement/resources/adyenv6ordermanagement-process-definitions-spring.xml index f3c797133..741c25de7 100644 --- a/adyenv6ordermanagement/resources/adyenv6ordermanagement-process-definitions-spring.xml +++ b/adyenv6ordermanagement/resources/adyenv6ordermanagement-process-definitions-spring.xml @@ -17,6 +17,12 @@ + + + + + diff --git a/adyenv6ordermanagement/resources/adyenv6ordermanagement.build.number b/adyenv6ordermanagement/resources/adyenv6ordermanagement.build.number index e85bfdc20..4e0f31e80 100644 --- a/adyenv6ordermanagement/resources/adyenv6ordermanagement.build.number +++ b/adyenv6ordermanagement/resources/adyenv6ordermanagement.build.number @@ -7,5 +7,5 @@ module.name=platform-module name=adyenv6ordermanagement releasedate=20170509 1754 vendor=adyen -version=6.1.0 -version.api=6.1.0 +version=6.1.1 +version.api=6.1.1 diff --git a/adyenv6ordermanagement/resources/adyenv6ordermanagement/process/orderConfirmationEmailProcess.xml b/adyenv6ordermanagement/resources/adyenv6ordermanagement/process/orderConfirmationEmailProcess.xml new file mode 100644 index 000000000..e718593c7 --- /dev/null +++ b/adyenv6ordermanagement/resources/adyenv6ordermanagement/process/orderConfirmationEmailProcess.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + Something went wrong. + Could not send order confirmation email. + Sent order confirmation email. + + \ No newline at end of file diff --git a/adyenv6ordermanagement/resources/impex/projectdata-dynamic-business-process-order.impex.6.7.dist b/adyenv6ordermanagement/resources/impex/projectdata-dynamic-business-process-order.impex.6.7.dist new file mode 100644 index 000000000..b08ed1154 --- /dev/null +++ b/adyenv6ordermanagement/resources/impex/projectdata-dynamic-business-process-order.impex.6.7.dist @@ -0,0 +1,159 @@ +# ###### +# ###### +# ############ ####( ###### #####. ###### ############ ############ +# ############# #####( ###### #####. ###### ############# ############# +# ###### #####( ###### #####. ###### ##### ###### ##### ###### +# ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### +# ###### ###### #####( ###### #####. ###### ##### ##### ###### +# ############# ############# ############# ############# ##### ###### +# ############ ############ ############# ############ ##### ###### +# ###### +# ############# +# ############ +# +# Adyen Hybris Extension +# +# Copyright (c) 2017 Adyen B.V. +# This file is open source and available under the MIT license. +# See the LICENSE file for more info. + +INSERT_UPDATE DynamicProcessDefinition;code[unique=true];active[unique=true];content +;adyen-order-process;true;" + + + + + + + + + + + + + + + + + AdyenAuthorized + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CSAOrderVerified + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AdyenCaptured + + + + + + + + + + +Order process error. +Order process failed. +Order process completed. + +" + +$storeUid=electronics +$orderProcessCode=adyen-order-process + +UPDATE BaseStore;uid[unique=true];submitOrderProcessCode +;$storeUid;$orderProcessCode diff --git a/adyenv6ordermanagement/resources/impex/projectdata-dynamic-business-return-order.impex.6.7.dist b/adyenv6ordermanagement/resources/impex/projectdata-dynamic-business-return-order.impex.6.7.dist new file mode 100644 index 000000000..2d616133a --- /dev/null +++ b/adyenv6ordermanagement/resources/impex/projectdata-dynamic-business-return-order.impex.6.7.dist @@ -0,0 +1,120 @@ +# ###### +# ###### +# ############ ####( ###### #####. ###### ############ ############ +# ############# #####( ###### #####. ###### ############# ############# +# ###### #####( ###### #####. ###### ##### ###### ##### ###### +# ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### +# ###### ###### #####( ###### #####. ###### ##### ##### ###### +# ############# ############# ############# ############# ##### ###### +# ############ ############ ############# ############ ##### ###### +# ###### +# ############# +# ############ +# +# Adyen Hybris Extension +# +# Copyright (c) 2017 Adyen B.V. +# This file is open source and available under the MIT license. +# See the LICENSE file for more info. + +INSERT_UPDATE DynamicProcessDefinition;code[unique=true];active[unique=true];content +;adyen-return-process;true;" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AdyenRefunded + + + + + + + + + + + + + + + + + + + + FailTaxReverseEvent + + + + + + + + + + + + + + +Return issue detected. +Return process ended as expected. +" + +$storeUid=electronics +$orderReturnCode=adyen-return-process + +UPDATE BaseStore;uid[unique=true];createReturnProcessCode +;$storeUid;$orderReturnCode