Step 9: Set up Wire Transfer
Learn how to set up Wire Transfer
To handle refunds for Wire Transfer orders, we created the following items:
A new storefront page where the shopper can provide their refund bank details
A Wire Transfer pending information email notification
SAP Hybris sends a refund request to Digital River. When SAP Hybris receives a refund.pending_information event from Digital River, it generates a Wire Transfer pending information email notification. This email notification provides a link to a storefront page where the shopper can provide their bank account details.
You need to import the following CMS ImpEx scripts to set up the Refund Information page.
# -----------------------------------------------------------------------
# [y] hybris Platform
#
# Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
#
# This software is the confidential and proprietary information of SAP
# ('Confidential Information'). You shall not disclose such Confidential
# Information and shall use it only in accordance with the terms of the
# license agreement you entered into with SAP.
# -----------------------------------------------------------------------
INSERT_UPDATE DynamicProcessDefinition;code[unique=true];active;content
;sendWireTransferRefundEmail-process;true;"<process xmlns='http://www.hybris.de/xsd/processdefinition' start='generateWireTransferEmail' name='sendWireTransferRefundEmail-process'
processClass='de.hybris.platform.returns.model.ReturnProcessModel' onError='error'>
<action id='generateWireTransferEmail' bean='generateWireTransferEmail'>
<transition name='OK' to='sendEmail'/>
<transition name='NOK' to='error'/>
</action>
<action id='sendEmail' bean='sendEmail'>
<transition name='OK' to='removeSentEmail'/>
<transition name='NOK' to='failed'/>
</action>
<action id='removeSentEmail' bean='removeSentEmail'>
<transition name='OK' to='success'/>
<transition name='NOK' to='error'/>
</action>
<end id='error' state='ERROR'>Something went wrong.</end>
<end id='failed' state='FAILED'>Could not send return label email.</end>
<end id='success' state='SUCCEEDED'>Sent return label email.</end>
</process>"
PreviousStep 8: Run the confirmation email body templateNextStep 10: Add the Digital River compliance statement
Last updated