@securecall/client-component
Version:
SecureCall Core Web Component
40 lines (39 loc) • 927 B
JavaScript
export const DEFAULT_RESPONSE_FIELDS = {
transactionId: {
order: 10,
label: 'Transaction ID',
mapping: 'response.transaction_id',
showOnSuccess: true
},
receipt: {
order: 20,
label: 'Receipt',
showOnSuccess: true
},
token: {
order: 30,
label: 'Token',
showOnSuccess: false
},
errorCode: {
order: 100,
label: 'Error Code',
mapping: 'response.error_code',
showOnFailure: true
},
errorMessage: {
order: 110,
label: 'Error Message',
mapping: 'response.error_message',
showOnFailure: true
},
anotherTransaction: {
order: 200,
label: 'Another Transaction',
action: 'retryClearCVV',
showOnSuccess: true,
showOnFailure: true,
component: 'button'
}
};
//# sourceMappingURL=response_fields.js.map