Modules: server/actions/paymentResponseActions

All functions in this module are action creators and the return value should be passed to the redux store dispatch() function.

IMPORTANT: This file contains imports that should only be bundled when doing a 'node' build. This action file should never be imported in the web bundle

Source:

Members


<static, constant> parsePaymentResponseQuery

Parse the payment response on the query parameters, if it is present. If the payment response is found, it will be decoded and validated using the signature in the query string. If a valid response is present, it will dispatch the setPaymentResponse action to pass the response to the redux state. This will be read from routeRequirements on the payment callback route.

Source:

Methods


setPaymentResponse(query)

Sets the payment response as decoded from the query string

Parameters:
Name Type Description
query

The parsed query string. This will be decoded into an object

Source: